fix paginator and site-description

This commit is contained in:
fruworg 2023-07-30 21:33:19 +05:00
parent 905ea46ed8
commit c7647125bd
3 changed files with 4 additions and 2 deletions

View File

@ -228,6 +228,8 @@ article .title {
.site-description {
display: flex;
justify-content: space-between;
text-align: left;
display: inline-block;
}
.tags li::before {

View File

@ -8,7 +8,7 @@
<main class="list">
<div class="site-description">
{{- if isset .Site.Params "subtitle" -}}
<p>{{ .Site.Params.Subtitle | markdownify }}</p>
<pre>{{ .Site.Params.Subtitle | markdownify }}</pre>
{{- end -}}
</div>
{{ $pages := where .Site.RegularPages "Type" "in" .Site.Params.mainSections }}

View File

@ -8,7 +8,7 @@
<a {{ if $pag.HasNext }}href="{{ $pag.Next.URL }}"{{ end }} class="page-link" aria-label="Next"><span aria-hidden="true">Вперёд →</span></a>
{{ end }}
</span>
<span class="page-item page-next">
<span class="page-item page-next" style="float: right">
{{ if $pag.HasNext }}
<a {{ if $pag.HasNext }}href="{{ $pag.Next.URL }}"{{ end }} class="page-link" aria-label="Next"><span aria-hidden="true">Вперёд →</span></a>
{{ else }}