mirror of
https://github.com/fruworg/themu.git
synced 2024-11-16 07:07:16 +03:00
fix paginator and site-description
This commit is contained in:
parent
905ea46ed8
commit
c7647125bd
@ -228,6 +228,8 @@ article .title {
|
|||||||
.site-description {
|
.site-description {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
text-align: left;
|
||||||
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tags li::before {
|
.tags li::before {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
<main class="list">
|
<main class="list">
|
||||||
<div class="site-description">
|
<div class="site-description">
|
||||||
{{- if isset .Site.Params "subtitle" -}}
|
{{- if isset .Site.Params "subtitle" -}}
|
||||||
<p>{{ .Site.Params.Subtitle | markdownify }}</p>
|
<pre>{{ .Site.Params.Subtitle | markdownify }}</pre>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
</div>
|
</div>
|
||||||
{{ $pages := where .Site.RegularPages "Type" "in" .Site.Params.mainSections }}
|
{{ $pages := where .Site.RegularPages "Type" "in" .Site.Params.mainSections }}
|
||||||
|
@ -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>
|
<a {{ if $pag.HasNext }}href="{{ $pag.Next.URL }}"{{ end }} class="page-link" aria-label="Next"><span aria-hidden="true">Вперёд →</span></a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</span>
|
</span>
|
||||||
<span class="page-item page-next">
|
<span class="page-item page-next" style="float: right">
|
||||||
{{ if $pag.HasNext }}
|
{{ if $pag.HasNext }}
|
||||||
<a {{ if $pag.HasNext }}href="{{ $pag.Next.URL }}"{{ end }} class="page-link" aria-label="Next"><span aria-hidden="true">Вперёд →</span></a>
|
<a {{ if $pag.HasNext }}href="{{ $pag.Next.URL }}"{{ end }} class="page-link" aria-label="Next"><span aria-hidden="true">Вперёд →</span></a>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
|
Loading…
Reference in New Issue
Block a user