make blog/, gallery/, and talks/ work

Thanks benharri on Freenode for finding this
This commit is contained in:
Cadey Ratio 2020-11-18 15:01:29 -05:00
parent 92d812f74e
commit 2dde44763d
3 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@
<p> <p>
<ul> <ul>
@for post in posts { @for post in posts {
<li>@post.date.format("%Y-%m-%d") - <a href="@post.link">@post.front_matter.title</a></li> <li>@post.date.format("%Y-%m-%d") - <a href="/@post.link">@post.front_matter.title</a></li>
} }
</ul> </ul>
</p> </p>

View File

@ -14,7 +14,7 @@
<div class="card cell -4of12 blogpost-card"> <div class="card cell -4of12 blogpost-card">
<header class="card-header">@post.front_matter.title</header> <header class="card-header">@post.front_matter.title</header>
<div class="card-content"> <div class="card-content">
<center><p>Posted on @post.date.format("%Y-%m-%d")<br /><a href="@post.link"><img src="@post.front_matter.thumb.as_ref().unwrap()" /></a></p></center> <center><p>Posted on @post.date.format("%Y-%m-%d")<br /><a href="/@post.link"><img src="@post.front_matter.thumb.as_ref().unwrap()" /></a></p></center>
</div> </div>
</div> </div>
} }

View File

@ -15,7 +15,7 @@
<p> <p>
<ul> <ul>
@for post in posts { @for post in posts {
<li>@post.date.format("%Y-%m-%d") - <a href="@post.link">@post.front_matter.title</a></li> <li>@post.date.format("%Y-%m-%d") - <a href="/@post.link">@post.front_matter.title</a></li>
} }
</ul> </ul>
</p> </p>