remove lang switcher from reader view #14

This commit is contained in:
Dmitry Kolosov 2021-12-19 14:10:10 +03:00
parent 61f5b5facf
commit e3e9ce62d2
5 changed files with 41 additions and 29 deletions

View file

@ -8,10 +8,12 @@
{{ $pages := where .Pages "Type" "in" site.Params.mainSections }}
{{ range $pages }}
<div class="post-short-list h-entry">
<header class="post-header">
<h2 class="p-name post-title{{ if .Params.favorite }} favorite{{end}}{{ if .Params.draft }} draft{{end}}"><a class="u-url" href="{{ .RelPermalink }}">{{ trim .Title " " }}</a></h2>
{{ partial "post-language-switcher.html" . }}
</header>
<div class="post-header">
<header>
<h2 class="p-name post-title{{ if .Params.favorite }} favorite{{end}}{{ if .Params.draft }} draft{{end}}"><a class="u-url" href="{{ .RelPermalink }}">{{ trim .Title " " }}</a></h2>
{{ partial "post-language-switcher.html" . }}
</header>
</div>
{{ partial "post-info.html" . }}
</div>
{{ end }}