Bring files from personal blog

This commit is contained in:
C. Lente 2023-02-01 15:06:05 -03:00
parent 76ca2f889f
commit 3ec9550325
No known key found for this signature in database
GPG key ID: B0B503C26E05781B
21 changed files with 321 additions and 333 deletions

View file

@ -1,7 +1,15 @@
<a href="{{ "/" | relURL }}">Home</a>
{{ range .Site.Menus.main }}
<a href="{{ .URL }}">{{ .Name }}</a>
{{ end }}
{{ with .Site.GetPage "/blog" }}
<a href="{{ "/blog" | relURL }}">Blog</a>
<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>
{{ $pageLang := .Page.Lang }}
{{ if .IsTranslated }}
{{ range .Translations }}
{{ if ne $pageLang .Lang }}
<a href="{{ .Permalink }}">{{ i18n "other-lang" }}</a>
{{ end }}
{{ end }}
{{ else }}
<a class="disabled" href="">{{ i18n "other-lang" }}</a>
{{ end }}