diff --git a/data/meses.toml b/data/meses.toml new file mode 100644 index 0000000..5a4ace9 --- /dev/null +++ b/data/meses.toml @@ -0,0 +1,12 @@ +1 = "enero" +2 = "febrero" +3 = "marzo" +4 = "abril" +5 = "mayo" +6 = "julio" +7 = "junio" +8 = "agosto" +9 = "septiembre" +10 = "octubre" +11 = "noviembre" +12 = "diciembre" diff --git a/i18n/en.toml b/i18n/en.toml new file mode 100644 index 0000000..3087eb6 --- /dev/null +++ b/i18n/en.toml @@ -0,0 +1,31 @@ +[credit_comment] + other = "" + +[long_date] + other = "{{ .Date.Format `January 2, 2006` }}" + +[wordcount] + one = "{{ . }} word" + other = "{{ . }} words" + +[readingtime] + one = "{{ . }} min" + other = "{{ . }} mins" + +[read_more] + other = "Read more" + + +[browser_no_video_support] + other = "Your browser does not support video." + + +[filtering_for] + other = "Filtering for \"{{ . }}\"" + +[no_posts] + other = "No posts here!" + + +[table_of_contents] + other = "Table of Contents" diff --git a/i18n/es.toml b/i18n/es.toml new file mode 100644 index 0000000..d63a576 --- /dev/null +++ b/i18n/es.toml @@ -0,0 +1,31 @@ +[credit_comment] + other = "" + +[long_date] + other = "{{ .Date.Day }} de {{ index .Data.meses (printf `%d` .Date.Month) }} de {{ .Date.Year }}" + +[wordcount] + one = "{{ . }} palabra" + other = "{{ . }} palabras" + +[readingtime] + one = "{{ . }} min" + other = "{{ . }} mins" + +[read_more] + other = "Leer más" + + +[browser_no_video_support] + other = "Tu navegador de internet no admite video." + + +[filtering_for] + other = "Filtrando por \"{{ . }}\"" + +[no_posts] + other = "¡No páginas aquí!" + + +[table_of_contents] + other = "Índice" diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 323b449..07e31e9 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,6 +1,6 @@ {{ partialCached "credit.html" . }} - + {{- partial "head.html" . -}}
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 000fc89..0a416a9 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -2,7 +2,7 @@ {{ if or (eq .Kind "term") (eq .Kind "taxonomy") }}