hugosoucycc

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

commit 173865d198de1d91d657eaa64b2907ec69a7b350
parent 7c15b2069b1ed9b3e5294b1b6530bca0de8d76e1
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Sun, 31 Jul 2016 14:04:58 -0400

Add hidden title + move some `<hr/>`

Diffstat:
Mtemplates/mustache/default.mustache | 3++-
Mtemplates/mustache/index.mustache | 2+-
Mtemplates/mustache/note.mustache | 20+++++++++++---------
3 files changed, 14 insertions(+), 11 deletions(-)

diff --git a/templates/mustache/default.mustache b/templates/mustache/default.mustache @@ -13,7 +13,8 @@ <address class="layout"> <hr/> - <p>Créé à Québec le <time class="dt-published dt-updated" $if(datetime)$datetime="$date$T$datetime$"$endif$>$date$</time> par <a class="p-author author" href="{{ BASE_URL }}#hs" rel="author"><i>{{ SITE_AUTHOR }}</i></a>. <a class="note__link u-url u-uid u-syndication" href="#">#</a></p> + <p><a class="note__link u-url u-uid u-syndication" href="#" rel="bookmark">#</a> Créé à {{ SITE_AUTHOR_LOCALITY }} le <time class="dt-published dt-updated" $if(datetime)$datetime="$date$T$datetime$"$endif$>$date$</time> par <a class="p-author author" href="{{ BASE_URL }}#hs" rel="author"><i>{{ SITE_AUTHOR }}</i></a>.<!-- <br/><a href="../../">Retour à la liste</a>. --> + </p> </address> </footer> </article> diff --git a/templates/mustache/index.mustache b/templates/mustache/index.mustache @@ -19,10 +19,10 @@ {{> partials/nav.index.mustache }} - <hr/> <footer> <address class="layout"> + <hr/> Écrire à <a href="mailto:{{ SITE_AUTHOR_EMAIL }}" rel="me"> <span class="u-email" property="email">{{ SITE_AUTHOR_EMAIL }}</span> </a>. diff --git a/templates/mustache/note.mustache b/templates/mustache/note.mustache @@ -2,18 +2,20 @@ <body id="note" class="note"> <main> - <div class="layout h-entry hentry as-note"> + <article class="layout h-entry hentry as-note"> <div class="layout__vcenter"> + <h1 class="visuallyhidden">$title$</h1> + $if(citeurl)$ <blockquote class="note__blockquote p-name e-content"> <div class="note__blockquote__quote">$body$</div> $if(cite)$ <footer class="note__blockquote__footer"> &mdash; - <cite class="note__blockquote__cite"> + <cite class="note__blockquote__cite"> <a href="$citeurl$" rel="external nofollow"> $cite$ - </a> + </a> </cite> </footer> $endif$ @@ -25,16 +27,16 @@ $endif$ <footer> - <a class="note__link u-url u-uid u-syndication" + <a class="note__link u-url u-uid u-syndication bookmark" href="#">#</a> - Publié le - <time class="dt-published dt-updated" $if(datetime)$datetime="$date$T$datetime$"$endif$>$date$</time> - par <a class="p-author author" href="{{ SITE_URL }}#hs" rel="author"><i>{{ SITE_AUTHOR }}</i></a> + Publié le <time class="dt-published dt-updated" $if(datetime)$datetime="$date$T$datetime$"$endif$>$date$</time> + par <a class="p-author author" href="{{ SITE_URL }}#hs" rel="author"><i>{{ SITE_AUTHOR }}</i></a>. + <!-- <br/><a href="{{ SITE_URL }}/note">Retour à la liste des notes</a>. --> </footer> </div> - </div> + </article> </main> - {{> partials/nav.mustache }} + {{> partials/nav.mustache }} </body> </html>