hugo.soucy.cc

The personnal website source code of Hugo Soucy. Creates from an homebrewed static website generator (Ferron).
Log | Files | Refs

commit 55b43592a5dbcc54223d901ecbfe62da15d2fa73
parent 44b02885b4387a76fc82822aead432d5b3d34497
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Tue, 28 Nov 2017 07:15:08 -0500

Add the rel=me link in the config and loop in mustache

Diffstat:
Msite.config.lua | 10+++++++++-
Mtemplates/partials/head.mustache | 9+++------
2 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/site.config.lua b/site.config.lua @@ -23,7 +23,15 @@ SITE = { PHONE = "581-996-6481", LOCALITY ="Qu├ębec", REGION = "Qc", - URI = "http://hugo.soucy.cc/#hs" + URI = "http://hugo.soucy.cc/#hs", + RELME = { + "http://shr.soucy.cc/", + "https://bandcamp.com/hs0ucy", + "https://framasphere.org/u/hs0ucy", + "http://twitter.com/hs0ucy", + "https://github.com/hs0ucy", + "sms:+15819966481" + } }, PATHS = { diff --git a/templates/partials/head.mustache b/templates/partials/head.mustache @@ -11,12 +11,9 @@ <link rel="webmention" href="https://webmention.herokuapp.com/api/webmention" /> <link rel="webmention" href="https://webmention.io/hugo.soucy.cc/webmention" /> - <link rel="me" href="http://shr.soucy.cc/" /> - <link rel="me" href="https://bandcamp.com/hs0ucy" /> - <link rel="me" href="https://framasphere.org/u/hs0ucy" /> - <link rel="me" href="http://twitter.com/hs0ucy" /> - <link rel="me" href="https://github.com/hs0ucy" /> - <link rel="me" href="sms:+15819966481" /> + {{# SITE.AUTHOR.RELME }} + <link rel="me" href="{{{ . }}}" /> + {{/ SITE.AUTHOR.RELME }} <link href="http://assets.soucy.cc/images/hugosoucy/favicon/hs-autoportrait-2010-nb-favion-32x32.png" rel="icon" type="image/png" /> <link href="{{{ permalink }}}" hreflang="{{ SITE.LANGUAGE }}" rel="canonical" />