Skip to content

Commit

Permalink
feat: add date on blog list page (#6)
Browse files Browse the repository at this point in the history
Merge pull request #6 from kranurag78/kranurag78-patch-1
  • Loading branch information
hugo-sid authored Mar 13, 2023
2 parents 5fd98c7 + cecef20 commit b6d1495
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion layouts/_default/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ <h2 class="post__year">{{ $year }}</h2>
<article class="post-item">
<h3 class="post-item-title">
<a href="{{ .Permalink }}">{{ .Title }}</a>
<p class="post-item-meta">{{ .Date.Format "January 2, 2006" }}</p>
</h3>
</article>

Expand All @@ -24,4 +25,4 @@ <h3 class="post-item-title">

</main>
</div>
{{- end -}}
{{- end -}}

0 comments on commit b6d1495

Please sign in to comment.