diff options
author | tdro <tdro@noreply.example.com> | 2022-11-16 11:32:06 -0500 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-11-16 11:32:06 -0500 |
commit | 9dd073b7ccac09d813abad9f9ae795547d1b8235 (patch) | |
tree | 1c69f4c7fd5cdfd579b46dec5b213bb7faa280ee | |
parent | ad375df7a86aa0733946d1bf35157e14e8d4301e (diff) | |
download | canory-9dd073b7ccac09d813abad9f9ae795547d1b8235.tar.gz canory-9dd073b7ccac09d813abad9f9ae795547d1b8235.tar.bz2 canory-9dd073b7ccac09d813abad9f9ae795547d1b8235.zip |
themes/default/layouts/partials/function-content: Add inline modifier
To match blockquotes accross multiple lines. Normalize blockquote
font size.
-rw-r--r-- | assets/css/default.css | 3 | ||||
-rw-r--r-- | themes/default/layouts/partials/function-content.html | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/assets/css/default.css b/assets/css/default.css index 3561d30..1242d63 100644 --- a/assets/css/default.css +++ b/assets/css/default.css @@ -302,8 +302,9 @@ blockquote p { border-color: var(--border-lighter); } -blockquote footer { +blockquote footer { text-align: right; + font-size: 100%; } video { diff --git a/themes/default/layouts/partials/function-content.html b/themes/default/layouts/partials/function-content.html index 65ed4aa..256d7e0 100644 --- a/themes/default/layouts/partials/function-content.html +++ b/themes/default/layouts/partials/function-content.html @@ -10,7 +10,7 @@ replaceRE "</figure></p>" "</figure>" | -}} -{{- $blockquoteFooters := findRE `</blockquote>\n<p>(–|—).*</p>` .Content -}} +{{- $blockquoteFooters := findRE `(?s)</blockquote>\n<p>(–|—).*</p>` .Content -}} {{- range $blockquoteFooter := $blockquoteFooters -}} |