From 2a4e4b4a9443a190e7961d8e29d29e51cdf042ac Mon Sep 17 00:00:00 2001 From: xenua Date: Thu, 13 Apr 2023 23:01:08 +0200 Subject: [PATCH] aaaaaaaa --- sass/style.sass | 5 +++++ templates/shortcodes/img.html | 10 +++++++--- templates/shortcodes/quote.html | 4 ++++ 3 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 templates/shortcodes/quote.html diff --git a/sass/style.sass b/sass/style.sass index 4c28087..a923c52 100644 --- a/sass/style.sass +++ b/sass/style.sass @@ -129,6 +129,11 @@ body font-stretch: extended font-feature-settings: "ss05" 1, "cv89" 2 @import code-highlight-light + + blockquote + border-left: 1px solid silver + margin-left: 2rem + padding-left: 0.5rem aside @include padding-horiz(1rem) diff --git a/templates/shortcodes/img.html b/templates/shortcodes/img.html index abbe84f..aa0da5b 100644 --- a/templates/shortcodes/img.html +++ b/templates/shortcodes/img.html @@ -13,12 +13,16 @@ {% set cropped = effective_image.height > crop_height and not allow_tall %}
- {{ alt }} + {{ alt }} {% if caption or resize or cropped %}
{% if caption %}
{{ caption | safe }}
{% endif %} - {% if resize or cropped %}↗️ full size{% endif %} + {% if resize or cropped %}↗️ full size{% endif %}
{% endif %}
\ No newline at end of file diff --git a/templates/shortcodes/quote.html b/templates/shortcodes/quote.html new file mode 100644 index 0000000..31ec898 --- /dev/null +++ b/templates/shortcodes/quote.html @@ -0,0 +1,4 @@ +
+ {{ body }}
+ -- {{ author }} +
\ No newline at end of file