diff --git a/i18n/en.toml b/i18n/en.toml new file mode 100644 index 0000000..efe0c53 --- /dev/null +++ b/i18n/en.toml @@ -0,0 +1,23 @@ +[page] +other = "Page" + +[of] +other = "of" + +[newer] +other = "Newer" + +[older] +other = "Older" + +[tagged] +other = "Tagged" + +[read_more] +other = "Read more..." + +[noteworthy_theme] +other = "Noteworthy theme" + +[built_with_hugo] +other = "Built with Hugo" diff --git a/i18n/it.toml b/i18n/it.toml new file mode 100644 index 0000000..6f51495 --- /dev/null +++ b/i18n/it.toml @@ -0,0 +1,23 @@ +[page] +other = "Pagina" + +[of] +other = "di" + +[newer] +other = "Successivi" + +[older] +other = "Precedenti" + +[tagged] +other = "Contrassegnato" + +[read_more] +other = "Continua a leggere..." + +[noteworthy_theme] +other = "Tema Noteworthy" + +[built_with_hugo] +other = "Realizzato con Hugo" diff --git a/layouts/_default/taxonomy.html b/layouts/_default/taxonomy.html index c86d136..5a35378 100644 --- a/layouts/_default/taxonomy.html +++ b/layouts/_default/taxonomy.html @@ -1,6 +1,6 @@ {{ define "main" }} -

Tagged "{{ .Data.Term }}"

+

{{ i18n "tagged" }} "{{ .Data.Term }}"

{{range .Pages}} @@ -13,7 +13,7 @@

{{ .Summary }}

{{ if (and (.Site.Params.showReadMore) (.Truncated)) }} -

Read more...

+

{{ i18n "read_more" }}

{{ end }}
@@ -22,4 +22,4 @@ {{ end }} -{{ end }} \ No newline at end of file +{{ end }} diff --git a/layouts/index.html b/layouts/index.html index 426a164..aa3292a 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -17,7 +17,7 @@

{{ .Summary }}

{{ if (and (.Site.Params.showReadMore) (.Truncated)) }} -

Read more...

+

{{ i18n "read_more" }}

{{ end }}
@@ -38,7 +38,7 @@
{{ $paginator := .Paginator }} {{ if gt .Paginator.TotalPages 1 }} -

Page {{ $paginator.PageNumber}} of {{ $paginator.TotalPages }}

+

{{ i18n "page" }} {{ $paginator.PageNumber}} {{ i18n "of" }} {{ $paginator.TotalPages }}

{{ if $paginator.HasPrev }} @@ -47,13 +47,13 @@ - - Newer + + {{ i18n "newer" }} {{ end }} {{ if $paginator.HasNext }} - Older + {{ i18n "older" }} diff --git a/layouts/partials/footer-mobile.html b/layouts/partials/footer-mobile.html index 8af7081..3794793 100644 --- a/layouts/partials/footer-mobile.html +++ b/layouts/partials/footer-mobile.html @@ -2,11 +2,11 @@ {{ partial "social.html" . }} {{ $script := resources.Get "js/main.js" | minify | fingerprint -}} - \ No newline at end of file + diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index c19fc8c..94ab42c 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,9 +1,9 @@ \ No newline at end of file +