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

@ -12,7 +12,7 @@
<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>
{{ partial "postInfo.html" . }}
{{ partial "post-info.html" . }}
</div>
{{ end }}
</div>

View file

@ -16,11 +16,11 @@
<div class="content e-content">
{{ .Content }}
</div>
{{ partial "postInfo.html" . }}
{{ partial "post-info.html" . }}
</article>
{{ if and (.Site.Params.paginationSinglePost) (ne .Type "page") }}
{{ partial "paginationPost.html" . }}
{{ partial "post-pagination.html" . }}
{{ end }}
{{ if .Site.DisqusShortname }}

View file

@ -4,7 +4,7 @@
<a href="{{ (printf "%s/%s" .Site.LanguagePrefix .Data.Plural) | absLangURL }}">{{ i18n (printf "toAll%s" (.Data.Plural | humanize )) | humanize }}</a>
</div>
{{ range .Paginator.Pages }}
{{ partial "postSummary.html" . }}
{{ partial "post-summary.html" . }}
{{ end }}
{{ partial "pagination.html" . }}