diff options
author | Vincent Tam <sere@live.hk> | 2019-07-31 05:02:27 +0300 |
---|---|---|
committer | Vincent Tam <sere@live.hk> | 2019-07-31 05:02:27 +0300 |
commit | 069d966c633ad753e18725d2d05e2244c7cd77af (patch) | |
tree | 73814698794dc00ae225a0f1d93ae7197168f353 /layouts | |
parent | a3479e005831158ff63d57e849d80d78b3973430 (diff) |
Added translation for French tag below
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/index.html | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/layouts/index.html b/layouts/index.html index c9eb428..ade1783 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -3,21 +3,21 @@ <article> <header> <h1> - <a href="{{ .Permalink }}"> + <a href='{{ .Permalink }}'> {{- .Title -}} </a> - <time datetime="{{ .Date.Format "2006-01-02T15:04:05+01:00" }}"> + <time datetime='{{ .Date.Format "2006-01-02T15:04:05+01:00" }}'> {{- .Date.Format "02/01/2006" -}} </time> </h1> - <div class="meta"> + <div class='meta'> {{- range .Params.categories -}} - <a class="categories" href="{{ "/categories/" | relLangURL }}{{ . | urlize }}"> + <a class='categories' href='{{ "categories/" | relLangURL }}{{ . | urlize }}'> {{- . -}} </a> {{- end -}} {{- range .Params.tags -}} - <a class="tags" href="{{ "/tags/" | relLangURL }}{{ . | urlize }}"> + <a class='tags' href='{{ "tags/" | relLangURL }}{{ . | urlize }}'> {{- . -}} </a> {{- end -}} @@ -26,8 +26,7 @@ {{ .Summary }} </article> {{- end -}} -<nav id="index"> - <a href="{{ .Site.BaseURL }}posts/">Voir le reste des -billets</a> +<nav id='index'> + <a href='{{ "posts/" | relLangURL }}'>{{ i18n "seeMorePosts" }}</a> </nav> {{ end }} |