diff --git a/layouts/partials/article/article.html b/layouts/partials/article/article.html index c5ad53c..f3f7e90 100644 --- a/layouts/partials/article/article.html +++ b/layouts/partials/article/article.html @@ -1,18 +1,8 @@
{{ 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 }} diff --git a/layouts/partials/article/components/audio.html b/layouts/partials/article/components/audio.html deleted file mode 100644 index d521201..0000000 --- a/layouts/partials/article/components/audio.html +++ /dev/null @@ -1,24 +0,0 @@ -
- - -
\ No newline at end of file diff --git a/layouts/partials/article/components/header.html b/layouts/partials/article/components/header.html index f6e0a73..7582ec2 100644 --- a/layouts/partials/article/components/header.html +++ b/layouts/partials/article/components/header.html @@ -32,11 +32,4 @@ {{ end }} {{ partialCached "article/components/details" . .RelPermalink }} - - {{ if .Params.audio }} - - - - - {{ end }} \ No newline at end of file