diff options
author | tdro <tdro@noreply.example.com> | 2022-05-28 17:54:29 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-05-28 17:54:29 -0400 |
commit | edcc24e178dc077fa25cd4f6e2eb92edcdfd4633 (patch) | |
tree | dae47d9061b8d5142a7e5275ddd027c1afd044bf /themes/default/layouts/_default/_markup/render-codeblock.html | |
parent | 0286144b14ef7ce2a943999fc616c3c24be83c57 (diff) | |
download | canory-edcc24e178dc077fa25cd4f6e2eb92edcdfd4633.tar.gz canory-edcc24e178dc077fa25cd4f6e2eb92edcdfd4633.tar.bz2 canory-edcc24e178dc077fa25cd4f6e2eb92edcdfd4633.zip |
themes/default/layouts/_default/_markup/render-codeblock: Show caption when no caption
Diffstat (limited to 'themes/default/layouts/_default/_markup/render-codeblock.html')
-rw-r--r-- | themes/default/layouts/_default/_markup/render-codeblock.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/themes/default/layouts/_default/_markup/render-codeblock.html b/themes/default/layouts/_default/_markup/render-codeblock.html index 1555553..2381216 100644 --- a/themes/default/layouts/_default/_markup/render-codeblock.html +++ b/themes/default/layouts/_default/_markup/render-codeblock.html @@ -16,4 +16,6 @@ {{ with $caption }} <footer>{{ . | markdownify }}</footer> +{{ else }} + <footer>Code Snippet</footer> {{ end }} |