rename partials for consistency

This commit is contained in:
Dmitry Kolosov 2021-07-09 19:00:52 +03:00
parent de6decde38
commit 6b9c2ef4eb
12 changed files with 10 additions and 10 deletions

View file

@ -0,0 +1,19 @@
<article class="post-list h-feed">
<header class="post-header">
<h1 class="p-name post-title{{ if .Params.favorite }} favorite{{end}}{{ if .Params.draft }} draft{{end}}"><a class="u-url" href="{{ .RelPermalink }}">{{ trim .Title " " }}</a></h1>
{{ partial "post-language-switcher.html" . }}
</header>
{{ if not .Site.Params.disableSummary }}
<div class="content post-summary p-summary">
{{ .Summary | safeHTML }}
</div>
{{ end }}
{{ if and (.Truncated) (.Site.Params.readMore) }}
<div class="read-more">
<a class="u-url" href="{{ .RelPermalink }}">{{ i18n "readMore" | humanize }}</a>
</div>
{{ end }}
{{ partial "post-info.html" . }}
</article>