-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds option to have multiple footer for different page types, merges …
…footer of siate in one file
- Loading branch information
Showing
8 changed files
with
23 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
<footer id="site-footer" class="section-inner thin {{- if ne false .Site.Params.usesAnimation }} animated fadeIn faster {{- end -}}"> | ||
<p> | ||
© {{ now.Format "2006" }} <a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a> | ||
· {{ .Site.Params.footerCopyright | safeHTML }} | ||
{{- if not .Site.Params.footerHideThemeName -}} | ||
· Made with <a href="https://gohugo.io/" target="_blank" rel="noopener">Hugo</a> | ||
· Theme <a href="https://github.com/1bl4z3r/hermit-V2" target="_blank" rel="noopener">Hermit-V2</a> | ||
{{- end -}} | ||
{{- with .OutputFormats.Get "RSS" }} | ||
· <a href="{{ "posts/index.xml" | absLangURL }}" target="_blank" title="rss">{{- partial "svg.html" (dict "context" . "name" "rss") -}}</a> | ||
{{- end -}} | ||
</p> | ||
|
||
</footer> | ||
{{/* | ||
This partial is responsible for footer contents for the site | ||
You can make page specific footers by creating below partials in `/layouts/partials` | ||
For homepage (or landing page), index-footer.html | ||
For article list pages, list-footer.html | ||
For single pages (which are not articles), single-footer.html | ||
For posts/articles pages, posts-footer.html | ||
*/}} | ||
<p> | ||
© {{ now.Format "2006" }} <a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a> | ||
· {{ .Site.Params.footerCopyright | safeHTML }} | ||
{{- if not .Site.Params.footerHideThemeName -}} | ||
· Made with <a href="https://gohugo.io/" target="_blank" rel="noopener">Hugo</a> | ||
· Theme <a href="https://github.com/1bl4z3r/hermit-V2" target="_blank" rel="noopener">Hermit-V2</a> | ||
{{- end -}} | ||
{{- with .OutputFormats.Get "RSS" }}· <a href="{{ "posts/index.xml" | absLangURL }}" target="_blank" title="rss">{{- partial "svg.html" (dict "context" . "name" "rss") -}}</a>{{- end -}} | ||
</p> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters