diff options
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/list.html | 3 | ||||
-rw-r--r-- | layouts/index.html | 2 | ||||
-rw-r--r-- | layouts/partials/languageSelect.html | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 59eb537..855ed91 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -5,8 +5,7 @@ <div class="articles h-feed"> <h1 class="post-title">{{ i18n .Title }}</h1> - {{ if .Params.no_feed }} - {{ else}} + {{ if not .Params.no_feed }} {{ range .Page.CurrentSection.Pages }} <div class="post-short-list h-entry"> <header class="post-header"> diff --git a/layouts/index.html b/layouts/index.html index 414d5e6..e1bfe7f 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -3,7 +3,7 @@ {{ .Content }} <ul> {{ range .Site.Sections }} - <li> <a href="{{ .Permalink }}">{{ .Title }}</a> </li> + <li> <a href="{{ .Permalink }}">{{ i18n .Title }}</a> </li> {{ end }} </ul> </div> diff --git a/layouts/partials/languageSelect.html b/layouts/partials/languageSelect.html index a4d2b92..ce67210 100644 --- a/layouts/partials/languageSelect.html +++ b/layouts/partials/languageSelect.html @@ -3,7 +3,7 @@ <ul> {{ range .Translations }} <li> - <a href="{{ .Permalink }}">{{ .Language.LanguageName }}: {{ .Title }}{{ if .IsPage }}{{ end }}</a> + <a href="{{ .Permalink }}">{{ .Language.LanguageName }}</a> </li> {{ end }} </ul> |