summaryrefslogtreecommitdiff
path: root/layouts/_default/list.html
diff options
context:
space:
mode:
authorReorx <novoreorx@gmail.com>2022-09-07 02:06:21 +0800
committerReorx <novoreorx@gmail.com>2022-09-07 02:06:21 +0800
commit13a2c8742c3a34ef8d137b78e5209b3d4acb02cc (patch)
tree10887f8f458b20939fdf402a3979b73772d2ca71 /layouts/_default/list.html
parentcd0381f6d3b86adb02702f1848283d9f19b017b5 (diff)
WIP: newsletter section page and archives page can work
Diffstat (limited to 'layouts/_default/list.html')
-rw-r--r--layouts/_default/list.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index e2c248c..f92963d 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -13,6 +13,11 @@
{{ .Description | markdownify }}
</div>
{{- end }}
+ {{- with .Param "archivesSlug" }}
+ <div>
+ <a href="{{ $.RelPermalink }}{{ . }}/">Archives</a>
+ </div>
+ {{- end }}
</header>
{{- end }}