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 {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
text-align: left;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.tags li::before {
|
||||
|
@ -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 }}
|
||||
|
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user