aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorCaio Lente <7017340+clente@users.noreply.github.com>2023-09-29 20:56:09 -0300
committerCaio Lente <7017340+clente@users.noreply.github.com>2023-09-29 20:56:09 -0300
commitdc1d2cf057cbdddbbc0d61e5959672f6fe63038f (patch)
tree1fbb121786ff9f03b5c9c33c2fc79855dc65c576 /layouts
parent211cc8aad3f32ea8f3262368089f2bd3850d15c9 (diff)
downloadhugo-bearcub-dc1d2cf057cbdddbbc0d61e5959672f6fe63038f.tar.gz
hugo-bearcub-dc1d2cf057cbdddbbc0d61e5959672f6fe63038f.tar.bz2
Fix #2
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/nav.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html
index a16fec3..2cc03a2 100644
--- a/layouts/partials/nav.html
+++ b/layouts/partials/nav.html
@@ -1,10 +1,10 @@
{{ range .Site.Menus.main.ByWeight }}
- <a href="{{ relLangURL .URL }}">{{ .Name }}</a>
+ <a href="{{ .URL }}">{{ .Name }}</a>
{{ end }}
{{ with .Site.Social.email }}
<a href='mailto:{{ . }}?subject={{ i18n "email-subject" }}"{{ default $.Site.Title $.Page.Title }}"'>Email</a>
{{ end }}
-<a href="{{ .Site.Params.blogPath }}/index.xml">RSS</a>
+<a href="{{ relLangURL .Site.Params.blogPath }}/index.xml">RSS</a>
<!-- Convert this page's translations into a dict -->
{{ $translations := dict }}