{{ .Title }}
{{- partial "utils/page-description" . }} - Read more → + {{ $readMore }}
{{ partial "utils/format-date" .Date }}
diff --git a/i18n/en.yaml b/i18n/en.yaml index d4d7d62..2649f6e 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -1,7 +1,9 @@ -onThisPage: "On this page" +backToTop: "Scroll to top" +changeLanguage: "Change language" +changeTheme: "Change theme" +copyright: "© 2023 Hextra Project." editThisPage: "Edit this page on GitHub →" lastUpdated: "Last updated on" - -backToTop: "Scroll to top" - -copyright: "© 2023 Hextra Project." +onThisPage: "On this page" +readMore: "Read more →" +searchPlaceholder: "Search..." diff --git a/layouts/blog/list.html b/layouts/blog/list.html index 691c97d..a8026e5 100644 --- a/layouts/blog/list.html +++ b/layouts/blog/list.html @@ -1,4 +1,5 @@ {{ define "main" }} +{{- $readMore := (T "readMore") | default "Read more →" -}}
{{- partial "utils/page-description" . }} - Read more → + {{ $readMore }}
{{ partial "utils/format-date" .Date }}