about summary refs log tree commit diff homepage
path: root/_layout/page_foot.html
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2021-12-22 17:36:16 +0700
committerNguyễn Gia Phong <mcsinyx@disroot.org>2021-12-22 17:36:16 +0700
commitee131010bc85332db483ae2e770495f29c168773 (patch)
tree96cadc3da23bd464feebf58e26f1f650399a2ffa /_layout/page_foot.html
parent3fae5dd37c658eb185fec2ad99dd11cacf97b7bb (diff)
downloadsite-ee131010bc85332db483ae2e770495f29c168773.tar.gz
Outsource more to injection phase
Diffstat (limited to '_layout/page_foot.html')
-rw-r--r--_layout/page_foot.html26
1 files changed, 10 insertions, 16 deletions
diff --git a/_layout/page_foot.html b/_layout/page_foot.html
index 8d8f783..848d42e 100644
--- a/_layout/page_foot.html
+++ b/_layout/page_foot.html
@@ -1,17 +1,11 @@
-{{isnotpage /tag/*}}{{isnotempty rss}}<section class=comments>
-  <a href='{{mailto_comment}}'>Reply via email</a>
-</section>{{end}}{{end}}
-<section class=page-foot>
-  {{copyright}}; See <a href=/COPYING>license terms</a><br>
+{{isnotempty tags}}<small class=tags><strong>Tags:</strong>{{for tag in tags}}
+  <a href=/tag/{{tag}}>{{tag}}</a>{{end}}</small>
+<small class=right>&mdash;{{isempty rss}}{{author}},
+  {{else}}{{mailto_comment}}, {{end}}{{date}}</small><br>{{end}}
 
-  {{isnotpage /tag/*}}Last modified: {{author_date}};  View
-  <a href=https://git.sr.ht/~cnx/site/tree/main/item/{{fd_rpath}}>page
-  source</a><br>{{end}}
-
-  Part of <a href=https://fediring.net>Fediring</a>; Visit neighbor on the
-  <a href={{fediring previous}}>left</a>/<a href={{fediring next}}>right</a><br>
-
-  <a href={{job_url}}>Built on sr.ht</a>
-  by <a href=https://julialang.org>Julia</a>
-  <a href=https://franklinjl.org>Franklin</a><br>
-</section>
+{{isnotempty rss}}<section class=comments>
+  <h2>Comments</h2>
+  <p>To reply, follow the <code>mailto</code> link
+    in the the author's name.</p>
+</section>{{end}}
+{{insert footer.html}}