summaryrefslogtreecommitdiffstats
path: root/themes/danix-xyz-hacker
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-04-15 15:50:43 +0200
committerDanilo M. <danix@danix.xyz>2026-04-15 15:50:43 +0200
commit8cc5ac0e831f9c34ec1352bdfa1c0f505c4cac33 (patch)
treed2a4e16395256d162f74a655e7ccbffa8fc9c9a0 /themes/danix-xyz-hacker
parent2c68e0b51eceac8003e83fb2b781ccfd9416b257 (diff)
downloaddanixxyz-8cc5ac0e831f9c34ec1352bdfa1c0f505c4cac33.tar.gz
danixxyz-8cc5ac0e831f9c34ec1352bdfa1c0f505c4cac33.zip
feat: create Quote article type template
Diffstat (limited to 'themes/danix-xyz-hacker')
-rw-r--r--themes/danix-xyz-hacker/layouts/partials/article-types/quote.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/themes/danix-xyz-hacker/layouts/partials/article-types/quote.html b/themes/danix-xyz-hacker/layouts/partials/article-types/quote.html
new file mode 100644
index 0000000..3df7327
--- /dev/null
+++ b/themes/danix-xyz-hacker/layouts/partials/article-types/quote.html
@@ -0,0 +1,15 @@
+<blockquote class="mb-8 pl-6 border-l-4 border-accent italic text-2xl text-text">
+ "{{ .Params.quote_text }}"
+</blockquote>
+
+{{ if .Params.quote_author }}
+<div class="text-right text-text-dim mb-12">
+ — {{ .Params.quote_author }}
+</div>
+{{ end }}
+
+{{ if .Content }}
+<div class="prose prose-invert max-w-none">
+ {{ .Content }}
+</div>
+{{ end }}