hscc

Soure code of <https://hugo.soucy.cc>.
git clone git://soucy.cc/hscc.git
Log | Files | Refs

commit 6781af154776fecacebf51a5860e8fbb8612b38c
parent 1a5575381affcf93ae0e5c4a97956018325679de
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Fri,  1 Oct 2021 19:04:46 -0400

Modify templates

Diffstat:
Mtemplates/head.html | 9+++------
Mtemplates/publications.html | 2+-
2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/templates/head.html b/templates/head.html @@ -39,12 +39,9 @@ <link href="https://webmention.herokuapp.com/api/webmention" rel="webmention" /> <link href="https://webmention.io/hugo.soucy.cc/webmention" rel="webmention" /> <link href="https://webmention.io/hugo.soucy.cc/xmlrpc" rel="pingback" /> - - <% if rellink == '' then %> - <!-- Me elsewhere --> - <% for _, relme in ipairs(author.relme) do %> - <link href="<%= relme -%>" rel="me" /> - <% end %> + <!-- Me elsewhere --> + <% for _, relme in ipairs(author.relme) do %> + <link href="<%= relme -%>" rel="me" /> <% end %> <link href="/humans.txt" rel="author" type="text/plain" /> </head> diff --git a/templates/publications.html b/templates/publications.html @@ -1,6 +1,6 @@ <article class="h-feed hfeed"> <%- content %> - + <small><%= #children -%> entrée(s)</small> <% if children then %> <ol class="hfeed__entries"> <% for _, child in ipairs(children) do %>