Less menus on config

This commit is contained in:
C. Lente 2023-02-09 17:17:51 -03:00
parent 4b84339a4f
commit 7a4c8fd24b
No known key found for this signature in database
GPG key ID: B0B503C26E05781B
4 changed files with 14 additions and 24 deletions

View file

@ -1,6 +1,8 @@
{{ range .Site.Menus.main }}
<a href="{{ .URL | absLangURL }}">{{ .Name }}</a>
{{ end }}
<a href="mailto:{{ .Site.Params.email }}?subject={{ i18n "email-subject" }}'{{ .Page.Title | default .Site.Title }}'">Email</a>
<a href="/index.xml">RSS</a>
{{ $pageLang := .Page.Lang }}
{{ if .IsTranslated }}
{{ range .Translations }}
@ -11,8 +13,3 @@
{{ else if not .Site.Params.hideUntranslated }}
<a class="disabled" href="">{{ .Language.LanguageName }}</a>
{{ end }}
<!-- <a href={{ i18n "home" | relURL }}>Home</a>
<a href={{ i18n "posts" }}>Blog</a>
<a href="mailto:c@lente.dev?subject={{ i18n "reply" }}'{{ .Page.Title | default .Site.Title }}'">Email</a>
<a href="/index.xml">RSS</a> -->