hugo.soucy.cc

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

commit fd33b9442a32b8e86cbee6b7b07e4cf6bc02317c
parent 11c230a2c1a215e228a140f17d6ef036ead9a702
Author: Hugo Soucy <hsoucy@kronostechnologies.com>
Date:   Wed,  4 Apr 2018 10:56:43 -0400

Add the bridgy ancor to the default template.

Diffstat:
Mtemplates/default.mustache | 72+++++++++++++++++++++++++++++++++++++++---------------------------------
1 file changed, 39 insertions(+), 33 deletions(-)

diff --git a/templates/default.mustache b/templates/default.mustache @@ -1,41 +1,47 @@ <!DOCTYPE html> <html lang="{{ site.language }}"> - {{> head }} + {{> head }} - <body id="single" class="single"> - <article class="h-entry hentry"> - <div class="layout e-content p-name single"> - {{{ content }}} - </div> + <body id="single" class="single"> + <article class="h-entry hentry"> + <div class="layout e-content p-name single"> + {{{ content }}} + </div> - <footer class="single__footer"> - <address class="layout"> - <hr/> - <p> - {{# permalink }} - <a class="u-url u-uid u-syndication bookmark" - href="{{{ permalink }}}" - rel="bookmark" - title="Permalink">#</a> - {{/ permalink }} + <footer class="single__footer"> + <address class="layout"> + <hr/> + <p> + {{# permalink }} + <a class="u-url u-uid u-syndication bookmark" + href="{{{ permalink }}}" + rel="bookmark" + title="Permalink">#</a> + {{/ permalink }} - {{# shortlink }} - (<a href="{{{ site.url }}}/{{{ shortlink }}}" - type="text/html" - rel="shortlink" - title="Shortlink">{{{ shortlink }}}</a>) - {{/ shortlink }} + {{# shortlink }} + (<a href="{{{ site.url }}}/{{{ shortlink }}}" + type="text/html" + rel="shortlink" + title="Shortlink">{{{ shortlink }}}</a>) + {{/ shortlink }} - Créé à {{ site.author.locality }} le <time class="dt-published" datetime="{{ date }}T{{ datetime }}">{{ date }}</time> par - <a class="p-author author" href="{{{ site.baseurl }}}#hs" rel="author"><i>{{ site.author.name }}</i></a>. - Modifié le <time class="dt-updated">{{ updated }}</time>. - </p> - </address> - </footer> - </article> + Créé à {{ site.author.locality }} le <time class="dt-published" datetime="{{ date }}T{{ datetime }}">{{ date }}</time> par + <a class="p-author author" href="{{{ site.baseurl }}}#hs" rel="author"><i>{{ site.author.name }}</i></a>. + Modifié le <time class="dt-updated">{{ updated }}</time>. + </p> + </address> + </footer> - {{> nav_button }} - {{> nav }} - {{> bottom_script }} - </body> + {{# bridgy }} + <a aria-hidden="true" + class="visuallyhidden" + href="https://brid.gy/publish/twitter"></a> + {{/ bridgy }} + </article> + + {{> nav_button }} + {{> nav }} + {{> bottom_script }} + </body> </html>