hugosoucycc

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

commit c164a925f6e30b977ac124c0973239bb3485fc88
parent 57c6e0f9ac9115e3ad52be3939cea9968704e22c
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Tue,  6 Jun 2017 21:54:33 -0400

Rename the note partial

Diffstat:
Atemplates/mustache/note.inc.mustache | 23+++++++++++++++++++++++
Dtemplates/mustache/partials/note-partial.mustache | 21---------------------
2 files changed, 23 insertions(+), 21 deletions(-)

diff --git a/templates/mustache/note.inc.mustache b/templates/mustache/note.inc.mustache @@ -0,0 +1,23 @@ +{{# citeurl }} + <blockquote class="note__blockquote p-name e-content"> + <div class="note__blockquote__quote"> + {{ content }} + </div> + {{# cite }} + <footer class="note__blockquote__footer"> + &mdash; + <cite class="note__blockquote__cite h-cite"> + <a class="u-url p-author" href="{{ citeurl }}" rel="external nofollow"> + {{ cite }} + </a> + </cite> + </footer> + {{/ cite }} + </blockquote> +{{/ citeurl }} + +{{^ citeurl }} + <div class="note__blocknote p-name e-content"> + {{ content }} + </div> +{{/ citeurl }} diff --git a/templates/mustache/partials/note-partial.mustache b/templates/mustache/partials/note-partial.mustache @@ -1,21 +0,0 @@ -{{# citeurl }} - <blockquote class="note__blockquote p-name e-content"> - <div class="note__blockquote__quote">{{ main_content }}</div> - {{# cite }} - <footer class="note__blockquote__footer"> - &mdash; - <cite class="note__blockquote__cite h-cite"> - <a class="u-url p-author" href="{{ citeurl }}" rel="external nofollow"> - {{ cite }} - </a> - </cite> - </footer> - {{/ cite }} - </blockquote> -{{/ citeurl }} - -{{^ citeurl }} - <div class="note__blocknote p-name e-content"> - {{ main_content }} - </div> -{{/ citeurl }}