Skip to content

Commit

Permalink
Attempt 1 to solve #58
Browse files Browse the repository at this point in the history
  • Loading branch information
1bl4z3r committed Apr 2, 2024
1 parent 8de7ad7 commit d3771a2
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ git submodule update --remote

Below page has an extensive list of user submitted sites/pages using hermit-V2.

Page in question: [Sites-using-hermit‐V2](https://github.com/1bl4z3r/hermit-V2/wiki/Sites-using-hermit‐V2)
Page in question: [Sites-using-hermit‐V2](https://github.com/1bl4z3r/hermit-V2/wiki)

## First Use Knowledge

Expand Down
8 changes: 8 additions & 0 deletions hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@ baseURL = "https://1bl4z3r.github.io/hermit-V2/"
defaultContentLanguage = "en"
defaultContentLanguageInSubdir = true

# [outputs]
# home = ['html', 'rss']
# page = ['html']
# rss = ['rss']
# section = ['html', 'rss']
# taxonomy = ['html', 'rss']
# term = ['html', 'rss']

[languages]
[languages.en]
title = 'Hermit - V2'
Expand Down
6 changes: 3 additions & 3 deletions layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
· {{ .Site.Params.footerCopyright | safeHTML }}
&#183; Made with <a href="https://gohugo.io/" target="_blank" rel="noopener">Hugo</a>
&#183; Theme <a href="https://github.com/1bl4z3r/hermit-V2" target="_blank" rel="noopener">Hermit-V2</a>
{{/*{{- with (not (in (.Site.Language.Get "disableKinds") "RSS")) }}*/}}
&#183; <a href="{{ "posts/index.xml" | absLangURL }}" target="_blank" title="rss">{{ partial "svg.html" (dict "context" . "name" "rss") }}</a>
{{/*{{ end }}*/}}
{{- with .OutputFormats.Get "RSS" }}
&#183; <a href="{{ "posts/index.xml" | absLangURL }}" target="_blank" title="rss">{{- partial "svg.html" (dict "context" . "name" "rss") -}}</a>
{{- end -}}
</p>

</footer>
6 changes: 3 additions & 3 deletions layouts/partials/single-footer.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<p>
&copy; {{ now.Format "2006" }} <a href="{{ .Site.BaseURL }}">{{ .Site.Params.author.name }}</a> &#183; {{ .Site.Params.footerCopyright | safeHTML }}
{{/*{{- with (not (in (.Site.Language.Get "disableKinds") "RSS")) }}*/}}
&#183; <a href="{{ "posts/index.xml" | absLangURL }}" target="_blank" title="rss">{{ partial "svg.html" (dict "context" . "name" "rss") }}</a>
{{/*{{ end }}*/}}
{{- with .OutputFormats.Get "RSS" }}
&#183; <a href="{{ "index.xml" | absLangURL }}" target="_blank" title="rss">{{- partial "svg.html" (dict "context" . "name" "rss") -}}</a>
{{- end -}}
</p>

0 comments on commit d3771a2

Please sign in to comment.