Move head partials in to a head sub dir. Create a footer.html partial.
This commit is contained in:
parent
83530eb11a
commit
8b2a439df5
1 changed files with 17 additions and 21 deletions
4
layouts/_partials/footer.html
Normal file
4
layouts/_partials/footer.html
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{{ if $.Param "feedlinks" }}{{ partial "feedlinks.html" . }}{{ end -}}
|
||||
<p>{{ with site.Copyright }}{{ . | site.Home.RenderString }}{{ else }}<span>© {{ site.Title }}</span>{{ end }}</p>
|
||||
{{ with $.Param "footer" }}<p>{{ . | site.Home.RenderString }}</p>{{ end }}
|
||||
{{ if $.Param "poweredby" }}<p>Powered by <a href="https://gohugo.io/">Hugo</a> and the <a href="https://github.com/frjo/hugo-theme-zen">Zen theme</a>.</p>{{ end }}
|
||||
Loading…
Reference in a new issue