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

github.com/AmazingRise/hugo-theme-diary.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoramazingrise <8315221+AmazingRise@users.noreply.github.com>2020-06-03 12:40:31 +0300
committeramazingrise <8315221+AmazingRise@users.noreply.github.com>2020-06-03 12:40:31 +0300
commitdbe3f9a9ebf7900f7c745eb6262b95c5c307fcc6 (patch)
tree665d5a30a9bc5d49f920fb8c8da7705a5418993c /layouts
parent1ba3deb66ff0015a4b7cc58ecf8f6cc0a55da9fc (diff)
Fixed the issue caused by Vue Mustache
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/single.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 7839dd8..78bc079 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -62,7 +62,11 @@
</div>
<div class="post-body-wrapper">
+ {{ if .Params.enableVue }}
<div class="post-body">
+ {{ else }}
+ <div class="post-body" v-pre>
+ {{ end }}
{{.Content}}
{{ if not .Lastmod.IsZero }}
<HR width="100%" id="EOF">