]> danix's work - danix.xyz-2.git/commitdiff
feat: create Quote article type template
authorDanilo M. <redacted>
Wed, 15 Apr 2026 13:50:43 +0000 (15:50 +0200)
committerDanilo M. <redacted>
Wed, 15 Apr 2026 13:50:43 +0000 (15:50 +0200)
themes/danix-xyz-hacker/layouts/partials/article-types/quote.html [new file with mode: 0644]

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 (file)
index 0000000..3df7327
--- /dev/null
@@ -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 }}