add yesterdays and todays posts
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
<nav aria-label="Post navigation" class="post-navigation">
|
||||
{{ with .PrevInSection }}
|
||||
<div class="prev-post">
|
||||
<p>
|
||||
<a href="{{ .RelPermalink }}">
|
||||
←
|
||||
{{ i18n "previous" }}:
|
||||
{{ .Title | markdownify }}
|
||||
</a>
|
||||
</p>
|
||||
<p class="prev-post-date">
|
||||
{{ dateFormat (or .Site.Params.dateFormat "January 2, 2006") .Date}}
|
||||
</p>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
{{ with .NextInSection }}
|
||||
<div class="next-post">
|
||||
<p>
|
||||
<a href="{{ .RelPermalink }}">
|
||||
{{ i18n "next" }}:
|
||||
{{ .Title | markdownify }}
|
||||
→
|
||||
</a>
|
||||
</p>
|
||||
<p class="next-post-date">
|
||||
{{ dateFormat (or .Site.Params.dateFormat "January 2, 2006") .Date}}
|
||||
</p>
|
||||
</div>
|
||||
{{ end }}
|
||||
</nav>
|
||||
Reference in New Issue
Block a user