Browse Source

Fix the following shortcodes to work with new hugo ver: fileTree, ticks

zwbetz 6 năm trước cách đây
mục cha
commit
5da8f5afe9
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      layouts/shortcodes/fileTree.html
  2. 1 1
      layouts/shortcodes/ticks.html

+ 1 - 1
layouts/shortcodes/fileTree.html

@@ -1,3 +1,3 @@
 <div class="file-tree">
-  {{ .Inner }}
+  {{ .Inner | markdownify }}
 </div>

+ 1 - 1
layouts/shortcodes/ticks.html

@@ -1,3 +1,3 @@
 <div class="ticks">
-  {{ .Inner }}
+  {{ .Inner | markdownify }}
 </div>