diff options
-rw-r--r-- | assets/css/default.css | 15 | ||||
-rw-r--r-- | content/canory/messages/diagrams.md | 5 | ||||
-rw-r--r-- | themes/default/layouts/shortcodes/footer.html | 7 |
3 files changed, 25 insertions, 2 deletions
diff --git a/assets/css/default.css b/assets/css/default.css index 096a2ec..04c9016 100644 --- a/assets/css/default.css +++ b/assets/css/default.css @@ -1473,6 +1473,21 @@ blockquote { padding-left: 2rem; } +blockquote p { + font-style: italic; + font-family: Charter, Georgia, "Book Antiqua", serif; + font-size: 125%; +} + +blockquote p span { + display: block; + text-align: right; + color: var(--foreground); + font-style: normal; + font-size: 80%; + margin-top: 0.75rem; +} + video { border-radius: 0.75rem; } diff --git a/content/canory/messages/diagrams.md b/content/canory/messages/diagrams.md index f32b056..cad4aa9 100644 --- a/content/canory/messages/diagrams.md +++ b/content/canory/messages/diagrams.md @@ -1,7 +1,7 @@ +++ date = "2022-03-25T04:45:51+00:00" lastmod = "2022-03-29T22:55:17+00:00" -tags = [ "docs", "diagrams" ] +tags = [ "docs", "diagrams", "emojis" ] author = "canory" +++ @@ -15,7 +15,8 @@ probably like them :sweat_smile:. I'm over the character limit but look mommy > My original implementation was certainly buggy and not on par with markdeep. I'm > grateful for the folks who've helped smooth out the rough edges, and I've > updated this project to reflect the good changes made in the Hugo fork, -> including a long-overdue go.mod. +> including a long--overdue go.mod. +{{< footer />}} ```goat . . . .--- 1 diff --git a/themes/default/layouts/shortcodes/footer.html b/themes/default/layouts/shortcodes/footer.html new file mode 100644 index 0000000..579913d --- /dev/null +++ b/themes/default/layouts/shortcodes/footer.html @@ -0,0 +1,7 @@ +{{- $text := default "Block Quote" (.Get "text" | default (.Get 0)) -}} + +{{- if gt (len .Inner) 1 -}} + {{ $text = .Inner }} +{{- end -}} + +<span>{{ $text | markdownify }}</span> |