mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-29 09:42:38 +00:00
Remove unnecessary partialCached for footer
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
{{ block "main" . }}
|
||||
{{ end}}
|
||||
</div>
|
||||
{{- partialCached "site-footer.html" . -}}
|
||||
{{- partial "site-footer.html" . -}}
|
||||
{{- partial "site-navigation.html" . -}}
|
||||
{{- partial "site-scripts.html" . -}}
|
||||
{{ block "addscripts" . }}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<!-- Note that the withtoc class is added as a class for content/*.md containing toc: true in the front matter. TOCs need to be declared explicityly in the front matter. -->
|
||||
<footer id="site-footer" class="site-footer{{if .Params.toc}} withtoc{{end}}{{if .IsHome}} homepage {{end}}">
|
||||
<footer id="site-footer" class="site-footer{{if .IsHome}} homepage{{end}}">
|
||||
<div class="footer-content">
|
||||
<div class="footer-info">
|
||||
<span>By <a href="http://spf13.com" target="_blank">spf13</a> and <a href="https://github.com/spf13/hugo/contributors" target="_blank">friends</a>.</span>
|
||||
|
||||
Reference in New Issue
Block a user