diff options
author | wlh233 <wlh233@live.com> | 2020-11-13 18:07:41 +0300 |
---|---|---|
committer | wlh233 <wlh233@live.com> | 2020-11-13 18:07:41 +0300 |
commit | ab9efea0dc0d0eb0202421aab978d8b54b5dac3b (patch) | |
tree | 4e133abd297ba1f7d74696a100af0466a51b1e83 /layouts/_default/single.html |
first commit
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r-- | layouts/_default/single.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..048b788 --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,17 @@ +{{ define "main" }} + {{- partial "post.html" . -}} +{{ end }} + +{{ define "script" }} + <!-- following is js part --> + {{- partial "highlight.html" . -}} + {{- partial "anchor.html" . -}} + + {{ if or .Params.math .Site.Params.math }} + {{- partial "math.html" . -}} + {{ end }} + + {{ if or .Params.toc (and .Site.Params.toc (ne .Params.toc false)) }} + {{- partial "toc.html" . -}} + {{ end }} +{{ end }} |