mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-29 20:13:31 +08:00
21 lines
696 B
HTML
21 lines
696 B
HTML
<article class="{{ if .Params.image }}has-image {{ end }}main-article">
|
|
{{ partial "article/components/header" . }}
|
|
|
|
{{ if .Params.audio }}
|
|
{{ if or ( eq .Params.audio.p "before" ) ( not .Params.audio.p ) }}
|
|
{{ partial "article/components/audio" . }}
|
|
{{ end }}
|
|
{{ end }}
|
|
|
|
{{ partial "article/components/content" . }}
|
|
|
|
{{ if or ( eq .Params.audio.p "after") ( eq .Params.audio.p "fixed" ) }}
|
|
{{ partial "article/components/audio" . }}
|
|
{{ end }}
|
|
|
|
{{ partial "article/components/footer" . }}
|
|
|
|
{{ if or .Params.math .Site.Params.article.math }}
|
|
{{ partialCached "article/components/math.html" . }}
|
|
{{ end }}
|
|
</article> |