hugo.soucy.cc

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

commit 95df9f668987f9c91727ea2c321da006976fbffc
parent a8f51b4f8ba657a8937b52176b15dba077609633
Author: Hugo Soucy <hugo.soucy@savoirfairelinux.com>
Date:   Thu,  8 Feb 2018 11:16:59 -0500

Put the shortlink in a link in the head.

Diffstat:
Mtemplates/partials/head.mustache | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/templates/partials/head.mustache b/templates/partials/head.mustache @@ -28,6 +28,12 @@ <link href="https://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" /> + {{# shortlink }} + <link href="{{{ site.url }}}/{{{ shortlink }}}" + hreflang="{{ site.language }}" + rel="shortlink" + type="text/html"/> + {{/ shortlink }} <meta name="robots" content="index, follow" /> <meta name="author" content="{{ site.author.name }}" />