Merge pull request #16 from kalbasit/hugo-theme-terminal_allow-custom-javascript

render an extended placeholder for head and footer
This commit is contained in:
Radek Kozieł 2019-03-06 00:49:59 +01:00 committed by GitHub
commit efad1bff26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,4 @@
<!--
To add an extended footer section, please create
`layouts/partials/extended_footer.html` in your Hugo directory.
-->

View File

@ -0,0 +1,4 @@
<!--
To add an extended head section, please create
`layouts/partials/extended_head.html` in your Hugo directory.
-->

View File

@ -13,3 +13,6 @@
<script src="{{ "assets/main.js" | absURL }}"></script>
<script src="{{ "assets/prism.js" | absURL }}"></script>
<!-- Extended footer section-->
{{ partial "extended_footer.html" . }}

View File

@ -50,3 +50,6 @@
{{ if .OutputFormats.Get "json" }}
<link href="{{ if .OutputFormats.Get "json" }}{{ "feed.json" | absURL }}{{ end }}" rel="alternate" type="application/json" title="{{ $.Site.Title }}" />
{{ end }}
<!-- Extended head section-->
{{ partial "extended_head.html" . }}