summaryrefslogtreecommitdiffstats
path: root/layouts/partials/article-types/quote.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/article-types/quote.html')
-rw-r--r--layouts/partials/article-types/quote.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/layouts/partials/article-types/quote.html b/layouts/partials/article-types/quote.html
new file mode 100644
index 0000000..f27d189
--- /dev/null
+++ b/layouts/partials/article-types/quote.html
@@ -0,0 +1,15 @@
+<blockquote class="mb-8 pl-6 border-l-4 border-[--type-quote] 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 }}