Added the ability to add a footer on a single page using front matter. If include_footer: true is present, then the footer will be displayed.
This commit is contained in:
@@ -15,6 +15,10 @@
|
|||||||
|
|
||||||
{{ partial "single/single.html" . }}
|
{{ partial "single/single.html" . }}
|
||||||
|
|
||||||
|
{{ if .Params.include_footer }}
|
||||||
|
{{ partial "footer.html" . }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
<!-- Back To Top Button -->
|
<!-- Back To Top Button -->
|
||||||
<div id="backtotop"><a href="#"></a></div>
|
<div id="backtotop"><a href="#"></a></div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user