Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zwbetz-gh/cupper-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzwbetz <zwbetz@gmail.com>2019-04-23 20:46:28 +0300
committerzwbetz <zwbetz@gmail.com>2019-04-23 20:46:28 +0300
commit5da8f5afe992659fc9f6c63e2ceeced65569d338 (patch)
tree0391f93a3fa9f192fc4d0a7242bba9969cda9152 /layouts
parentc51dd9f4f2b14ac25226cfaf485074d6a76c8867 (diff)
Fix the following shortcodes to work with new hugo ver: fileTree, ticks
Diffstat (limited to 'layouts')
-rw-r--r--layouts/shortcodes/fileTree.html2
-rw-r--r--layouts/shortcodes/ticks.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/shortcodes/fileTree.html b/layouts/shortcodes/fileTree.html
index 9705a6d..3e8d95d 100644
--- a/layouts/shortcodes/fileTree.html
+++ b/layouts/shortcodes/fileTree.html
@@ -1,3 +1,3 @@
<div class="file-tree">
- {{ .Inner }}
+ {{ .Inner | markdownify }}
</div>
diff --git a/layouts/shortcodes/ticks.html b/layouts/shortcodes/ticks.html
index b751603..21518d4 100644
--- a/layouts/shortcodes/ticks.html
+++ b/layouts/shortcodes/ticks.html
@@ -1,3 +1,3 @@
<div class="ticks">
- {{ .Inner }}
+ {{ .Inner | markdownify }}
</div>