Skip to content

Commit

Permalink
Error handling in absence of git edit date
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwinWenink committed Mar 1, 2024
1 parent 27e22d5 commit f492573
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/zettelkasten/single.html
Expand Up @@ -50,7 +50,7 @@
<aside>
<i class="fa fa-home" style="font-size:24px"></i>
<!-- Author is hard coded here; no font matter with author available -->
<a class="u-url" href="{{ .Permalink }}">Published <time class="dt-published">{{ .Params.date.Format "2 January, 2006" }}</time> by <a rel="author" class="p-author h-card" href="{{ .Site.BaseURL }}author/edwin-wenink">Edwin Wenink</a>
<a class="u-url" href="{{ .Permalink }}">Published {{with .Params.data.Format }}<time class="dt-published">{{ .Params.date.Format "2 January, 2006" }}</time>{{end}} by <a rel="author" class="p-author h-card" href="{{ .Site.BaseURL }}author/edwin-wenink">Edwin Wenink</a>
</a></aside>
<aside>
<i class="fas fa-tools" style="font-size:24px"></i> Last modified on {{ .Lastmod.Format "2 January, 2006"}}.
Expand All @@ -62,7 +62,7 @@
</div>
<br>

{{ partial "link-posts.html" . }}
{{ partial "link_posts.html" . }}

</div>

Expand Down

0 comments on commit f492573

Please sign in to comment.