diff --git a/site/config.toml b/site/config.toml index 5a80581..f7259be 100644 --- a/site/config.toml +++ b/site/config.toml @@ -1,5 +1,7 @@ baseurl = "https://citra-emu.org/" languageCode = "en-us" + +DefaultContentLanguage = "en" theme = "citra-bs-theme" # Define how many objects appear per pagination. diff --git a/site/i18n/en.toml b/site/i18n/en.toml new file mode 100644 index 0000000..35c4214 --- /dev/null +++ b/site/i18n/en.toml @@ -0,0 +1,2 @@ +[home] +other = "Home" diff --git a/site/themes/citra-bs-theme/layouts/_default/baseof.html b/site/themes/citra-bs-theme/layouts/_default/baseof.html index 0513498..1ca0a7d 100755 --- a/site/themes/citra-bs-theme/layouts/_default/baseof.html +++ b/site/themes/citra-bs-theme/layouts/_default/baseof.html @@ -8,7 +8,9 @@ + {{- if eq .IsPage true }} {{ .Render "meta" }} + {{- end }} {{ .Hugo.Generator }} @@ -115,7 +117,7 @@ diff --git a/site/themes/citra-bs-theme/layouts/_default/list.html b/site/themes/citra-bs-theme/layouts/_default/list.html index 4e48179..6b26975 100755 --- a/site/themes/citra-bs-theme/layouts/_default/list.html +++ b/site/themes/citra-bs-theme/layouts/_default/list.html @@ -1,6 +1,6 @@ {{ define "main" }} {{ $paginator := .Paginate .Data.Pages }} - + {{ range $paginator.Pages }} {{ .Render "summary" }} {{ end }} diff --git a/site/themes/citra-bs-theme/layouts/_default/list.json b/site/themes/citra-bs-theme/layouts/_default/list.json new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/site/themes/citra-bs-theme/layouts/_default/list.json @@ -0,0 +1 @@ +{} diff --git a/site/themes/citra-bs-theme/layouts/_default/terms.html b/site/themes/citra-bs-theme/layouts/_default/terms.html new file mode 100644 index 0000000..d2d2af6 --- /dev/null +++ b/site/themes/citra-bs-theme/layouts/_default/terms.html @@ -0,0 +1,11 @@ +{{ define "main" }} + {{- if eq .IsPage true }} + {{ $paginator := .Paginate .Data.Pages }} + + {{ range $paginator.Pages }} + {{ .Render "summary" }} + {{ end }} + + {{ partial "pagination" . }} + {{- end }} +{{ end }}