diff options
Diffstat (limited to '_layout')
-rw-r--r-- | _layout/footer.html | 15 | ||||
-rw-r--r-- | _layout/head.html | 6 | ||||
-rw-r--r-- | _layout/page_foot.html | 26 | ||||
-rw-r--r-- | _layout/tag.html | 7 |
4 files changed, 29 insertions, 25 deletions
diff --git a/_layout/footer.html b/_layout/footer.html new file mode 100644 index 0000000..cde42d6 --- /dev/null +++ b/_layout/footer.html @@ -0,0 +1,15 @@ +<footer> + {{copyright}}; <span class=nowrap>See + <a href=/COPYING>license terms</a></span><br> + + {{isnotpage /tag/*}}Last modified: {{author_date}}; <span class=nowrap>View + <a href=https://git.sr.ht/~cnx/site/tree/main/item/{{fd_rpath}}>page + source</a></span><br>{{end}} + + Part of <a href=https://fediring.net>Fediring</a>; <span class=nowrap>Visit + the {{fediring 1 previous}}/{{fediring 2 next}} site</span><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> +</footer> diff --git a/_layout/head.html b/_layout/head.html index 4b4ca29..d6b043e 100644 --- a/_layout/head.html +++ b/_layout/head.html @@ -3,9 +3,3 @@ {{isdef title}}<title>{{title}} - McSinyx</title>{{end}} <body> {{insert header.html}} -{{isnotempty rss}}<h1>{{title}}</h1> -<div class=metadata> - <strong>Originally published:</strong> {{date}}<br> - <strong>Tags:</strong>{{for tag in tags}} - <a href=/tag/{{tag}}>{{tag}}</a>{{end}}<br> -</div>{{end}} 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>—{{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}} diff --git a/_layout/tag.html b/_layout/tag.html index a9de4ae..72fd0d2 100644 --- a/_layout/tag.html +++ b/_layout/tag.html @@ -2,10 +2,11 @@ <title>Tag: {{fd_tag}}</title> <body> {{insert header.html}} -<div class=franklin-content> +<main class=franklin-content> <h1>Tag: {{fd_tag}}</h1> {{taglist}} - {{insert page_foot.html}} -</div> + {{openring}} +</main> +{{insert footer.html}} </body> </html> |