diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-12-23 17:41:30 +0700 |
---|---|---|
committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-12-23 21:18:32 +0700 |
commit | 1d42abf23d59de9684c80c290c4498d81ce9977b (patch) | |
tree | 69207c35109e50fda8c489d98b107680217b1d72 /_layout | |
parent | c9e639f71b686093e6b53097f0accc0cfbb77303 (diff) | |
download | site-1d42abf23d59de9684c80c290c4498d81ce9977b.tar.gz |
Add initial commenting support
Diffstat (limited to '_layout')
-rw-r--r-- | _layout/page_foot.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/_layout/page_foot.html b/_layout/page_foot.html index 848d42e..88d33ea 100644 --- a/_layout/page_foot.html +++ b/_layout/page_foot.html @@ -1,11 +1,11 @@ {{isnotempty tags}}<small class=tags><strong>Tags:</strong>{{for tag in tags}} <a href=/tag/{{tag}}>{{tag}}</a>{{end}}</small> <small class=right>—{{isempty rss}}{{author}}, - {{else}}{{mailto_comment}}, {{end}}{{date}}</small><br>{{end}} + {{else}}<a href="{{mailto_comment}}" title="Reply via email">{{author}}</a>, + {{end}}{{date}}</small><br>{{end}} -{{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}} +{{isnotempty rss}}<h2>Comments</h2> +{{comments_rendered}} +<p>To reply, follow the <code>mailto</code> link + in the the author's name.</p>{{end}} {{insert footer.html}} |