diff options
Diffstat (limited to 'src/themes/serene/templates/shortcodes/quote.html')
-rw-r--r-- | src/themes/serene/templates/shortcodes/quote.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/themes/serene/templates/shortcodes/quote.html b/src/themes/serene/templates/shortcodes/quote.html new file mode 100644 index 0000000..c7e3c37 --- /dev/null +++ b/src/themes/serene/templates/shortcodes/quote.html @@ -0,0 +1,10 @@ +<blockquote class="quote"> + {% set icon = load_data(path="icon/quote.svg") %} + <div class="icon" style="display: none;">{{ icon | safe }}</div> + <div class="content">{{ body | markdown | safe }}</div> + {% if cite %} + <div class="from"> + {{ "— " ~ cite | markdown | safe }} + </div> + {% endif %} +</blockquote> \ No newline at end of file |