hugosoucycc

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

commit 09fa7f6b4b243fd912949e4f944e2a41e53b42c4
parent da706790ddd3abcd2bcec62bb07158cd9d44536c
Author: Hugo Soucy <hugo.soucy@savoirfairelinux.com>
Date:   Fri,  5 Aug 2016 09:50:35 -0400

Indentation.

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

diff --git a/templates/mustache/note.mustache b/templates/mustache/note.mustache @@ -1,46 +1,46 @@ {{> 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> - $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"> - <a href="$citeurl$" rel="external nofollow"> - $cite$ - </a> - </cite> - </footer> - $endif$ - </blockquote> - $else$ - <div class="note__blocknote p-name e-content"> - $body$ - </div> - $endif$ + $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"> + <a href="$citeurl$" rel="external nofollow"> + $cite$ + </a> + </cite> + </footer> + $endif$ + </blockquote> + $else$ + <div class="note__blocknote p-name e-content"> + $body$ + </div> + $endif$ - <footer class="note__footer"> - <a class="note__link u-url u-uid u-syndication bookmark" - href="#">#</a> - Publié le <time class="dt-published" $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>. - $if(modified)$Modifié le <time class="dt-updated">$modified$</time>.$endif$ - <br/>&crarr; <a href="{{ SITE_URL }}/note">Retourner aux notes</a>. - </footer> - </div> - $if(bridgy)$ - <a class="visuallyhidden" href="https://brid.gy/publish/twitter"></a> - $endif$ - </article> - </main> + <footer class="note__footer"> + <a class="note__link u-url u-uid u-syndication bookmark" + href="#">#</a> + Publié le <time class="dt-published" $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>. + $if(modified)$Modifié le <time class="dt-updated">$modified$</time>.$endif$ + <br/>&crarr; <a href="{{ SITE_URL }}/note">Retourner aux notes</a>. + </footer> + </div> + $if(bridgy)$ + <a class="visuallyhidden" href="https://brid.gy/publish/twitter"></a> + $endif$ + </article> + </main> - {{> partials/nav.mustache }} + {{> partials/nav.mustache }} </body> </html>