🎨 Finish archives page coding.

This commit is contained in:
凡梦星尘
2022-06-07 18:16:40 +08:00
parent 517ddcdf84
commit 168fb20cbb
24 changed files with 184 additions and 26 deletions

View File

@@ -0,0 +1,13 @@
<div class="post-block">
<article itemscope itemtype="http://schema.org/Article" class="post-content" lang="{{ .Scratch.Get "lang" }}">
{{ partial "post/header.html" (dict "ctx" .ctx "IsHome" .IsHome) }}
<!-- POST BODY -->
{{ partial "post/body.html" (dict "ctx" .ctx "IsHome" .IsHome) }}
<footer class="post-footer">
{{ partial "post/footer.html" (dict "ctx" .ctx "IsHome" .IsHome) }}
</footer>
</article>
</div>