support ovo

This commit is contained in:
mivinci 2021-07-19 14:36:50 +08:00
parent b96ac1bc1f
commit ef60b7bc68
39 changed files with 668 additions and 12 deletions

View file

@ -14,11 +14,17 @@
{{ .Content }}
</article>
</main>
{{ if or .Params.math .Site.Params.math }}
{{ partial "math.html" . }}
{{ end }}
{{ if .Params.comment }}
{{ partial "disqus.html" . }}
{{ end }}
{{ if or .Params.math .Site.Params.math }}
{{ partial "math.html" . }}
{{ end }}
{{ if and .Params.comment (eq .Site.Params.comment "disqus")}}
{{ partial "disqus.html" . }}
{{ end }}
{{ if and .Params.comment (eq .Site.Params.comment "ovo")}}
{{ partial "ovo.html" . }}
{{ end }}
{{ end }}