hugosoucycc

[ARCHIVED] Another old source code of <hugo.soucy.cc>.
Log | Files | Refs | Submodules

commit 24526b0e52ece6adbad587727732aeb4258d4102
parent 6d9def1744fa8ad000bcb7afd4910bfb8c811806
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Sun, 17 Sep 2017 20:22:42 -0400

Move the replyto block.

Diffstat:
Mtemplates/mustache/note.mustache | 140++++++++++++++++++++++++++++++++++++++++----------------------------------------
1 file changed, 70 insertions(+), 70 deletions(-)

diff --git a/templates/mustache/note.mustache b/templates/mustache/note.mustache @@ -1,82 +1,82 @@ {{> partials/head.mustache }} <body id="note" class="note"> - <main> - <article class="layout h-entry hentry as-note"> - <div class="layout__vcenter"> - <h1 class="visuallyhidden">{{ title }}</h1> + <main> + <article class="layout h-entry hentry as-note"> + <div class="layout__vcenter"> + <h1 class="visuallyhidden">{{ title }}</h1> - {{# replyto }} - <p> - <a class="note__link u-in-reply-to" - href="{{ replyto }}" - rel="in-reply-to">En réponse à {{ replyto }}.</a><br/> - </p> - {{/ replyto }} + {{# citeurl_tpl }} + <blockquote class="note__blockquote p-name e-content"> + <div class="note__blockquote__quote"> + {{ main_content }} + </div> + {{# cite_tpl }} + <footer class="note__blockquote__footer"> + &mdash; + <cite class="note__blockquote__cite h-cite"> + <a class="u-url p-author" href="{{ citeurl_tpl }}" rel="external nofollow"> + {{ cite_tpl }} + </a> + </cite> + </footer> + {{/ cite_tpl }} + </blockquote> + {{/ citeurl_tpl }} - {{# citeurl_tpl }} - <blockquote class="note__blockquote p-name e-content"> - <div class="note__blockquote__quote"> - {{ main_content }} - </div> - {{# cite_tpl }} - <footer class="note__blockquote__footer"> - &mdash; - <cite class="note__blockquote__cite h-cite"> - <a class="u-url p-author" href="{{ citeurl_tpl }}" rel="external nofollow"> - {{ cite_tpl }} - </a> - </cite> - </footer> - {{/ cite_tpl }} - </blockquote> - {{/ citeurl_tpl }} + {{^ citeurl_tpl }} + <div class="note__blocknote p-name e-content"> + {{ main_content }} + </div> + {{/ citeurl_tpl }} - {{^ citeurl_tpl }} - <div class="note__blocknote p-name e-content"> - {{ main_content }} - </div> - {{/ citeurl_tpl }} + <footer class="note__footer"> + {{# replyto }} + <p> + <a class="note__link--replyto u-in-reply-to" + href="{{ replyto }}" + rel="in-reply-to">&#x21b3; En réponse à {{ replyto }}.</a><br/> + </p> + {{/ replyto }} + + {{# permalink }} + <a class="note__link u-url u-uid u-syndication bookmark" + href="{{ permalink }}" + rel="bookmark">#</a> + {{/ permalink }} - <footer class="note__footer"> - {{# permalink }} - <a class="note__link u-url u-uid u-syndication bookmark" - href="{{ permalink }}" - rel="bookmark">#</a> - {{/ permalink }} + Publié le <time class="dt-published" {{# datetime }}datetime="{{ date }}T{{ datetime }}"{{/ datetime }}>{{ date }}</time> + par + <a class="p-author author h-card" href="{{ BASE_URL }}#hs" rel="author"> + <i>{{ SITE_AUTHOR }}</i> + <img alt="" + class="u-photo visuallyhidden" + src="http://assets.soucy.cc/images/hugosoucy/favicon/hs-autoportrait-2010-nb-favion-32x32.png"/> + </a> + {{# modified }} et modifié le <time class="dt-updated">{{ modified }}</time>{{/ modified }}. + <br/>&crarr; <a href="{{ BASE_URL }}/note">Retourner aux notes</a>. + </footer> - Publié le <time class="dt-published" {{# datetime }}datetime="{{ date }}T{{ datetime }}"{{/ datetime }}>{{ date }}</time> - par - <a class="p-author author h-card" href="{{ BASE_URL }}#hs" rel="author"> - <i>{{ SITE_AUTHOR }}</i> - <img alt="" - class="u-photo visuallyhidden" - src="http://assets.soucy.cc/images/hugosoucy/favicon/hs-autoportrait-2010-nb-favion-32x32.png"/> - </a> - {{# modified }} et modifié le <time class="dt-updated">{{ modified }}</time>{{/ modified }}. - <br/>&crarr; <a href="{{ BASE_URL }}/note">Retourner aux notes</a>. - </footer> + <aside class="webmention-herokuapp"> + <script id="webmention-hosted"> + (function () { + var sn = document.createElement("script"), s = document.getElementsByTagName("script")[0], url; + url = document.querySelectorAll ? document.querySelectorAll("link[rel~=canonical]") : false; + url = url && url[0] ? url[0].href : false; + sn.type = "text/javascript"; sn.async = true; + sn.src = "//webmention.herokuapp.com/api/embed?url=" + encodeURIComponent(url || window.location); + s.parentNode.insertBefore(sn, s); + }()); + </script> + </aside> + </div> - <aside class="webmention-herokuapp"> - <script id="webmention-hosted"> - (function () { - var sn = document.createElement("script"), s = document.getElementsByTagName("script")[0], url; - url = document.querySelectorAll ? document.querySelectorAll("link[rel~=canonical]") : false; - url = url && url[0] ? url[0].href : false; - sn.type = "text/javascript"; sn.async = true; - sn.src = "//webmention.herokuapp.com/api/embed?url=" + encodeURIComponent(url || window.location); - s.parentNode.insertBefore(sn, s); - }()); - </script> - </aside> - </div> + {{# bridgy }} + <a class="visuallyhidden" href="https://brid.gy/publish/twitter"></a> + {{/ bridgy }} + </article> + </main> - {{# bridgy }} - <a class="visuallyhidden" href="https://brid.gy/publish/twitter"></a> - {{/ bridgy }} - </article> - </main> - - {{> partials/bottom-script.mustache }} + {{> partials/bottom-script.mustache }} </body> </html>