-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: Auto-generate blog index (#39)
* rename templates * wip * wip * clean up * clean up * clean up * adjust format * format more
- Loading branch information
1 parent
de845b9
commit 78de92c
Showing
8 changed files
with
167 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.DS_Store | ||
img/.DS_Store | ||
/McGill/ | ||
Manifest.toml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<link rel="shortcut icon" type="image/png" href="../../assets/img/favicon.png" /> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<title>$if(rawtitle)$$rawtitle$$else$$title$$endif$</title> | ||
<link rel="stylesheet" type="text/css" href="../../assets/css/main.css" /> | ||
$header$ | ||
</head> | ||
|
||
<body> | ||
<div class="main-container blog"> | ||
<nav class="navbar" role="navigation"> | ||
@hannahilea: | ||
<a class="nav-link" href="../..">home</a> | | ||
<a class="nav-link" href="../../projects">projects</a> | | ||
<a class="nav-link" href="..">blog</a> | ||
</nav> | ||
<h1>$title$</h1> | ||
$body$ | ||
<hr /> | ||
<ul> | ||
<li>created: $created$</li> | ||
<li>last updated: $updated$</li> | ||
<li>tags: $for(tags)$$tags$$sep$, $endfor$</li> | ||
</ul> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,39 @@ | ||
<!doctype html> | ||
<!--Auto-generated! Make changes in index.html.template, not this file--> | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<link rel="shortcut icon" type="image/png" href="../../assets/img/favicon.png" /> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<title>$if(rawtitle)$$rawtitle$$else$$title$$endif$</title> | ||
<link rel="stylesheet" type="text/css" href="../../assets/css/main.css" /> | ||
$header$ | ||
</head> | ||
|
||
<body> | ||
<div class="main-container blog"> | ||
<nav class="navbar" role="navigation"> | ||
@hannahilea: | ||
<a class="nav-link" href="../..">home</a> | | ||
<a class="nav-link" href="../../projects">projects</a> | | ||
<a class="nav-link" href="..">blog</a> | ||
</nav> | ||
<h1>$title$</h1> | ||
$body$ | ||
<hr /> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<meta name="description" content="Hannah Robertson's blog" /> | ||
<meta name="author" content="Hannah Robertson" /> | ||
<link rel="shortcut icon" type="image/png" href="../assets/img/favicon.png" /> | ||
<link rel="stylesheet" type="text/css" href="../assets/css/main.css" /> | ||
<title>@hannahilea: blog</title> | ||
</head> | ||
|
||
<body> | ||
<div class="main-container"> | ||
<nav class="navbar" role="navigation"> | ||
@hannahilea: | ||
<a href=".." class="nav-link">home</a> | | ||
<a href="../projects" class="nav-link">projects</a> | | ||
<a href="../blog" class="nav-link">blog</a> | ||
</nav> | ||
<h1 class="title">Blog</h1> | ||
|
||
<div class="posts"> | ||
<ul> | ||
<li>created: $created$</li> | ||
<li>last updated: $updated$</li> | ||
<li>tags: $for(tags)$$tags$$sep$, $endfor$</li> | ||
<!-- POSTS --> | ||
</ul> | ||
</div> | ||
</body> | ||
|
||
<div> | ||
<a href="/rss.xml" rel="subscribe-rss"> | ||
<!-- Source: https://img.shields.io/badge/rss-F88900?style=for-the-badge&logo=rss&logoColor=white --> | ||
<img class="badge" src="../assets/img/rss-logo-styled.svg" alt="Subscribe to @hannahilea RSS feed" /></a> | ||
</div> | ||
</div> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,54 @@ | ||
<!DOCTYPE html> | ||
<!--Auto-generated! Make changes in index.html.template, not this file--> | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<meta name="description" content="Hannah Robertson's blog" /> | ||
<meta name="author" content="Hannah Robertson" /> | ||
<link rel="shortcut icon" type="image/png" href="../assets/img/favicon.png" /> | ||
<link rel="stylesheet" type="text/css" href="../assets/css/main.css" /> | ||
<title>@hannahilea: blog</title> | ||
</head> | ||
|
||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<meta name="description" content="Hannah Robertson's blog" /> | ||
<meta name="author" content="Hannah Robertson" /> | ||
<link rel="shortcut icon" type="image/png" href="../assets/img/favicon.png" /> | ||
<link rel="stylesheet" type="text/css" href="../assets/css/main.css" /> | ||
<title>@hannahilea: blog</title> | ||
</head> | ||
<body> | ||
<div class="main-container"> | ||
<nav class="navbar" role="navigation"> | ||
@hannahilea: | ||
<a href=".." class="nav-link">home</a> | <a href="../projects" class="nav-link">projects</a> | | ||
<a href="../blog" class="nav-link">blog</a> | ||
</nav> | ||
<h1 class="title">Blog</h1> | ||
|
||
<body> | ||
<div class="main-container"> | ||
<nav class="navbar" role="navigation"> | ||
@hannahilea: | ||
<a href=".." class="nav-link">home</a> | | ||
<a href="../projects" class="nav-link">projects</a> | | ||
<a href="../blog" class="nav-link">blog</a> | ||
</nav> | ||
<h1 class="title">Blog</h1> | ||
<div class="posts"> | ||
<ul> | ||
<li> | ||
<strong class="blog-date">18 Oct 2024</strong> | ||
<a class="blog-url" href="./clapping-music-2"> | ||
<strong><em>Clapping Music</em></strong> for one flip-disc display: Byte and variations | ||
</a> | ||
</li> | ||
<li><strong class="blog-date">11 Oct 2024</strong> <a class="blog-url" href="./meme-making"> Quick ’n hacky meme making, for fun and no profit </a></li> | ||
<li><strong class="blog-date">27 Sep 2024</strong> <a class="blog-url" href="./cuttle-obsession"> Obsessed with Cuttle: Parametric CAD for prototyping, producing, and procrastinating </a></li> | ||
<li><strong class="blog-date">21 Sep 2024</strong> <a class="blog-url" href="./make-a-list"> First things first: Make a list </a></li> | ||
<li><strong class="blog-date">20 Sep 2024</strong> <a class="blog-url" href="./driven-developments"> Dopamine-driven development (DDD), spite-driven development (SDD), and other DDs </a></li> | ||
<li><strong class="blog-date">18 Sep 2024</strong> <a class="blog-url" href="./future-blog-posts"> Titles of blog posts I might never write </a></li> | ||
<li> | ||
<strong class="blog-date">14 Sep 2024</strong> | ||
<a class="blog-url" href="./clapping-music-for-flip-disc-displays"> | ||
<strong><em>Clapping Music</em></strong> for two flip-disc displays | ||
</a> | ||
</li> | ||
<li><strong class="blog-date">17 May 2024</strong> <a class="blog-url" href="./site-structure"> This website’s structure: A meta post </a></li> | ||
</ul> | ||
</div> | ||
|
||
<div class="posts"> | ||
<ul> | ||
<!-- Add new post here --> | ||
<li><strong class="blog-date">18 Oct 2024</strong> <a class="blog-url" href="./clapping-music-2"><em>Clapping | ||
Music</em> for one flip-disc display: Byte and variations</a> </li> | ||
<li><strong class="blog-date">11 Oct 2024</strong> <a class="blog-url" href="./meme-making">Quick ‘n hacky meme | ||
making, for fun and no profit</a> </li> | ||
<li><strong class="blog-date">27 Sep 2024</strong> <a class="blog-url" href="./cuttle-obsession">Obsessed with | ||
Cuttle: Parametric CAD for prototyping, producing, and procrastinating</a> </li> | ||
<li><strong class="blog-date">21 Sep 2024</strong> <a class="blog-url" href="./make-a-list">First things first: | ||
Make a list</a> </li> | ||
<li><strong class="blog-date">20 Sep 2024</strong> <a class="blog-url" | ||
href="./driven-developments">Dopamine-driven development (DDD), spite-driven development (SDD), and other | ||
DDs</a> </li> | ||
<li><strong class="blog-date">18 Sep 2024</strong> <a class="blog-url" href="./future-blog-posts">Titles of | ||
blog posts I might never write</a> </li> | ||
<li><strong class="blog-date">14 Sep 2024</strong> <a class="blog-url" | ||
href="./clapping-music-for-flip-disc-displays"><em>Clapping Music</em> for two flip-disc | ||
displays</a> | ||
</li> | ||
<li><strong class="blog-date">17 May 2024</strong> <a class="blog-url" href="./site-structure">This website’s | ||
structure: A meta post</a> | ||
</li> | ||
</ul> | ||
<div> | ||
<a href="/rss.xml" rel="subscribe-rss"> | ||
<!-- Source: https://img.shields.io/badge/rss-F88900?style=for-the-badge&logo=rss&logoColor=white --> | ||
<img class="badge" src="../assets/img/rss-logo-styled.svg" alt="Subscribe to @hannahilea RSS feed" | ||
/></a> | ||
</div> | ||
</div> | ||
|
||
<div> | ||
<a href="/rss.xml" rel="subscribe-rss"> | ||
<!-- Source: https://img.shields.io/badge/rss-F88900?style=for-the-badge&logo=rss&logoColor=white --> | ||
<img class="badge" src="../assets/img/rss-logo-styled.svg" alt="Subscribe to @hannahilea RSS feed" /></a> | ||
</div> | ||
</div> | ||
</body> | ||
|
||
</body> | ||
</html> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
[deps] | ||
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a" | ||
pandoc_jll = "c5432543-76ad-5c9d-82bf-db097047a5e2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters