diff options
| author | Track3 <pengliabc@live.cn> | 2018-12-14 15:17:48 +0800 |
|---|---|---|
| committer | Track3 <pengliabc@live.cn> | 2018-12-14 15:17:48 +0800 |
| commit | 8711c169be1a680f83f35ed362c10776a5a6abc8 (patch) | |
| tree | 4780f209649d85b9984c95311821131765a79348 /layouts/404.html | |
| parent | c128b75243bc13e01385ee210cd28cceff549f09 (diff) | |
| download | hermit-8711c169be1a680f83f35ed362c10776a5a6abc8.tar.gz | |
Add i18n support for translation of strings
* Also add Simplified Chinese translations
* See #3
Diffstat (limited to 'layouts/404.html')
| -rw-r--r-- | layouts/404.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/404.html b/layouts/404.html index 535fd1a..691ac08 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -5,10 +5,10 @@ </p> <div class="banner-404"> <h1>404</h1> - <p>Oops, page not found…</p> + <p>{{ i18n "notFound" }}</p> <p class="btn-404"> - <a href="{{.Site.BaseURL}}"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-home"><path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path><polyline points="9 22 9 12 15 12 15 22"></polyline></svg>Home</a> - <a href="{{ "posts" | absURL }}"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-archive"><polyline points="21 8 21 21 3 21 3 8"></polyline><rect x="1" y="3" width="22" height="5"></rect><line x1="10" y1="12" x2="14" y2="12"></line></svg>Archives</a> + <a href="{{.Site.BaseURL}}"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-home"><path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path><polyline points="9 22 9 12 15 12 15 22"></polyline></svg>{{ i18n "home" }}</a> + <a href="{{ "posts" | absURL }}"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-archive"><polyline points="21 8 21 21 3 21 3 8"></polyline><rect x="1" y="3" width="22" height="5"></rect><line x1="10" y1="12" x2="14" y2="12"></line></svg>{{ i18n "archives" }}</a> </p> </div> </div> |
