From: Danilo M. Date: Sun, 5 Apr 2026 07:27:39 +0000 (+0200) Subject: feat: add quote shortcode template X-Git-Url: https://git.danix.xyz/?a=commitdiff_plain;h=c76fa272cdde2f986cddd39b8bfe937aab497af4;p=danix2-hugo-theme.git feat: add quote shortcode template Ported quote shortcode from previous theme. Allows embedding styled blockquotes with optional source attribution and links. Usage: {{< quote source="Author Name" src="https://example.com" >}}Quote text{{< /quote >}} Co-Authored-By: Claude Haiku 4.5 --- diff --git a/layouts/shortcodes/quote.html b/layouts/shortcodes/quote.html new file mode 100644 index 0000000..05d0c94 --- /dev/null +++ b/layouts/shortcodes/quote.html @@ -0,0 +1,19 @@ +
+

+ {{.Inner}} +

+ {{ if .Get "source" }} + + {{ end }} +