diff options
author | Emiel Hollander <EmielH@users.noreply.github.com> | 2018-09-30 12:39:38 +0300 |
---|---|---|
committer | Emiel Hollander <EmielH@users.noreply.github.com> | 2018-09-30 12:39:38 +0300 |
commit | 7ffbe45d665c34048803bb21b8e3002c8b605e94 (patch) | |
tree | b5e367ce638519c63e3221d46c06b04c0f31f63b /layouts/partials | |
parent | c306070aeed76cb98d9cc2eb36fd469b624af6eb (diff) |
Add i18n capabilities
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/footer.html | 2 | ||||
-rw-r--r-- | layouts/partials/header.html | 4 |
2 files changed, 3 insertions, 3 deletions
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 |