diff --git a/assets/sass/_custom.scss b/assets/sass/_custom.scss index 7913407..f813ab0 100644 --- a/assets/sass/_custom.scss +++ b/assets/sass/_custom.scss @@ -24,3 +24,14 @@ p { font-weight: bold; } +// shortcode quote + +.quote { + font-size: 90%; + padding-top: 1rem; + padding-bottom: 1rem; +} + +.quote-author { + padding-top: 0.3rem; +} \ No newline at end of file diff --git a/layouts/shortcodes/quote.html b/layouts/shortcodes/quote.html new file mode 100644 index 0000000..7e6efa1 --- /dev/null +++ b/layouts/shortcodes/quote.html @@ -0,0 +1,8 @@ +
+{{ markdownify .Inner }} + {{ with .Get "author" -}} +
+ {{ . }} +
+{{- end }} +