diff options
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/single.html | 4 | ||||
-rw-r--r-- | layouts/partials/footer.html | 2 | ||||
-rw-r--r-- | layouts/partials/header.html | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 2e05fc5..6e46c07 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -3,7 +3,7 @@ <main> <div class="post"> <div class="post-info"> - <span>Written by</span> + <span>{{ i18n "writtenBy" }}</span> {{- if .Params.Author }} {{ .Params.Author }} {{- else }} @@ -12,7 +12,7 @@ {{- if .PublishDate }} <br> - <span>on </span><time datetime="{{ .PublishDate }}">{{ .PublishDate.Format "January 2, 2006" }}</time> + <span>{{ i18n "on" }} </span><time datetime="{{ .PublishDate }}">{{ .PublishDate.Format "January 2, 2006" }}</time> {{- end }} </div> diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 0d57b9f..45f10de 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,6 +1,6 @@ <footer> <span> - © <time datetime="{{ now }}">{{ now.Format "2006" }}</time> {{ .Site.Params.Author }}. Made with Hugo using the <a href="https://github.com/EmielH/tale-hugo/">Tale</a> theme. + © <time datetime="{{ now }}">{{ now.Format "2006" }}</time> {{ .Site.Params.Author }}. {{ i18n "generator" | safeHTML }} </span> </footer> </body> diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 21e7320..6f00f62 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -10,8 +10,8 @@ <h2 class="nav-title">{{ .Site.Title }}</h2> </a> <ul> - <li><a href="{{ .Site.BaseURL }}about">About</a></li> - <li><a href="{{ .Site.BaseURL }}">Posts</a></li> + <li><a href="{{ .Site.BaseURL }}about">{{ i18n "about" }}</a></li> + <li><a href="{{ .Site.BaseURL }}">{{ i18n "posts" }}</a></li> </ul> </div> </nav>
\ No newline at end of file |