Better RSS
This commit is contained in:
parent
a18a8cc797
commit
6e341272f5
@ -7,7 +7,7 @@ theme = "hugo-bearcub"
|
|||||||
|
|
||||||
# Basic metadata configuration for your blog.
|
# Basic metadata configuration for your blog.
|
||||||
author = "John Doe"
|
author = "John Doe"
|
||||||
copyright = "John Doe (CC BY-SA 4.0)"
|
copyright = "John Doe (CC BY 4.0)"
|
||||||
|
|
||||||
# highlighting without inline styles
|
# highlighting without inline styles
|
||||||
[markup]
|
[markup]
|
||||||
@ -29,6 +29,8 @@ DefaultContentLanguage = "en"
|
|||||||
contentDir = "content"
|
contentDir = "content"
|
||||||
weight = 1
|
weight = 1
|
||||||
[languages.en.params]
|
[languages.en.params]
|
||||||
|
# Absolute path to your blog section, used for the nav bar's RSS link
|
||||||
|
blogPath = "/blog"
|
||||||
# You can use markdown here if you want to link somewhere
|
# You can use markdown here if you want to link somewhere
|
||||||
madeWith = "Made with [Bear Cub](https://github.com/clente/hugo-bearcub)"
|
madeWith = "Made with [Bear Cub](https://github.com/clente/hugo-bearcub)"
|
||||||
[languages.pt]
|
[languages.pt]
|
||||||
@ -38,6 +40,8 @@ DefaultContentLanguage = "en"
|
|||||||
contentDir = "content.pt"
|
contentDir = "content.pt"
|
||||||
weight = 2
|
weight = 2
|
||||||
[languages.pt.params]
|
[languages.pt.params]
|
||||||
|
# Absolute path to your blog section, used for the nav bar's RSS link
|
||||||
|
blogPath = "/pt/blog"
|
||||||
# You can use markdown here if you want to link somewhere
|
# You can use markdown here if you want to link somewhere
|
||||||
madeWith = "Feito com [Bear Cub](https://github.com/clente/hugo-bearcub)"
|
madeWith = "Feito com [Bear Cub](https://github.com/clente/hugo-bearcub)"
|
||||||
|
|
||||||
@ -67,5 +71,5 @@ DefaultContentLanguage = "en"
|
|||||||
# (Optional, experimental, default false) Enables a drop-down menu for translations only if a translation is present.
|
# (Optional, experimental, default false) Enables a drop-down menu for translations only if a translation is present.
|
||||||
hideUntranslated = false
|
hideUntranslated = false
|
||||||
|
|
||||||
# Email
|
# Email, used for the nav bar's email link
|
||||||
email = "me@example.com"
|
email = "me@example.com"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<a href="{{ absLangURL .URL }}">{{ .Name }}</a>
|
<a href="{{ absLangURL .URL }}">{{ .Name }}</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<a href='mailto:{{ .Site.Params.email }}?subject={{ i18n "email-subject" }}"{{ default .Site.Title .Page.Title }}"'>Email</a>
|
<a href='mailto:{{ .Site.Params.email }}?subject={{ i18n "email-subject" }}"{{ default .Site.Title .Page.Title }}"'>Email</a>
|
||||||
<a href="/index.xml">RSS</a>
|
<a href="{{ .Site.Language.Params.params.blogPath }}/index.xml">RSS</a>
|
||||||
|
|
||||||
<!-- Convert this page's translations into a dict -->
|
<!-- Convert this page's translations into a dict -->
|
||||||
{{ $translations := dict }}
|
{{ $translations := dict }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user