rename the partials to extended_head and extended_footer
This commit is contained in:
parent
c375d4ce5d
commit
00296f07b4
@ -1,4 +0,0 @@
|
|||||||
<!--
|
|
||||||
To add custom footer section, please create
|
|
||||||
`layouts/partials/custom_footer.html` in your Hugo directory.
|
|
||||||
-->
|
|
@ -1,4 +0,0 @@
|
|||||||
<!--
|
|
||||||
To add custom head section, please create `layouts/partials/custom_head.html` in your
|
|
||||||
Hugo directory.
|
|
||||||
-->
|
|
4
layouts/partials/extended_footer.html
Normal file
4
layouts/partials/extended_footer.html
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<!--
|
||||||
|
To add an extended footer section, please create
|
||||||
|
`layouts/partials/extended_footer.html` in your Hugo directory.
|
||||||
|
-->
|
4
layouts/partials/extended_head.html
Normal file
4
layouts/partials/extended_head.html
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<!--
|
||||||
|
To add an extended head section, please create
|
||||||
|
`layouts/partials/extended_head.html` in your Hugo directory.
|
||||||
|
-->
|
@ -14,5 +14,5 @@
|
|||||||
<script src="{{ "assets/main.js" | absURL }}"></script>
|
<script src="{{ "assets/main.js" | absURL }}"></script>
|
||||||
<script src="{{ "assets/prism.js" | absURL }}"></script>
|
<script src="{{ "assets/prism.js" | absURL }}"></script>
|
||||||
|
|
||||||
<!-- Custom footer section-->
|
<!-- Extended footer section-->
|
||||||
{{ partial "custom_footer.html" . }}
|
{{ partial "extended_footer.html" . }}
|
||||||
|
@ -51,5 +51,5 @@
|
|||||||
<link href="{{ if .OutputFormats.Get "json" }}{{ "feed.json" | absURL }}{{ end }}" rel="alternate" type="application/json" title="{{ $.Site.Title }}" />
|
<link href="{{ if .OutputFormats.Get "json" }}{{ "feed.json" | absURL }}{{ end }}" rel="alternate" type="application/json" title="{{ $.Site.Title }}" />
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
<!-- Custom head section-->
|
<!-- Extended head section-->
|
||||||
{{ partial "custom_head.html" . }}
|
{{ partial "extended_head.html" . }}
|
||||||
|
Loading…
Reference in New Issue
Block a user