hugosoucycc

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

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

Create a partial for note templates.

Diffstat:
Atemplates/mustache/partials/note-partial.mustache | 21+++++++++++++++++++++
1 file changed, 21 insertions(+), 0 deletions(-)

diff --git a/templates/mustache/partials/note-partial.mustache b/templates/mustache/partials/note-partial.mustache @@ -0,0 +1,21 @@ +{{# 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 }}