Adds english support
This commit is contained in:
parent
2e4cb039c6
commit
cfd5c44611
3 changed files with 31 additions and 11 deletions
6
content-en/_index.md
Normal file
6
content-en/_index.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
## Hi! :raising_hand_man:
|
||||
|
||||
Soon this text will be replaced with a proper introduction, but unitl then, happy to see you here :relaxed:
|
||||
|
||||
- <a rel="me" href="https://social.ctrlz.es/@mgdelacroix">Mastodon</a>
|
||||
- [Github](https://github.com/mgdelacroix)
|
22
hugo.yaml
22
hugo.yaml
|
@ -17,13 +17,12 @@ markup:
|
|||
languages:
|
||||
es:
|
||||
title: ctrlz
|
||||
languageName: es-ES
|
||||
languageName: ESP 🇪🇸
|
||||
LanguageCode: es
|
||||
contentDir: content
|
||||
params:
|
||||
madeWith: 'Made with :heart_decoration: and Open Source'
|
||||
|
||||
menus:
|
||||
madeWith: 'Hecho con :heart_decoration: y Open Source'
|
||||
menus:
|
||||
main:
|
||||
- name: Inicio
|
||||
pageRef: '/'
|
||||
|
@ -31,6 +30,21 @@ menus:
|
|||
- name: Blog
|
||||
pageRef: '/blog'
|
||||
weight: 20
|
||||
en:
|
||||
title: ctrlz
|
||||
languageName: ENG 🇬🇧
|
||||
LanguageCode: en
|
||||
contentDir: content-en
|
||||
params:
|
||||
madeWith: 'Made with :heart_decoration: and Open Source'
|
||||
menus:
|
||||
main:
|
||||
- name: Home
|
||||
pageRef: '/'
|
||||
weight: 10
|
||||
- name: Blog
|
||||
pageRef: '/blog'
|
||||
weight: 20
|
||||
|
||||
params:
|
||||
contact:
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{{ range .Site.Menus.main.ByWeight }}
|
||||
<a href="{{ .URL }}">{{ .Name }}</a>
|
||||
{{ end }}
|
||||
<a href='{{ absURL "index.xml" }}'>RSS</a>
|
||||
<a href='{{ absLangURL "index.xml" }}'>RSS</a>
|
||||
|
||||
<!-- Convert this page's translations into a dict -->
|
||||
{{ $translations := dict }}
|
||||
|
|
Loading…
Reference in a new issue