Merge a4262fb255b66f455e34aa63285c46d24c016e38 into dad94ab4b7c55eea0b63f7b81419d027fe9a8d81

This commit is contained in:
Roneo.org 2024-03-18 21:03:17 +01:00 committed by GitHub
commit 86f54c76c8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 2 deletions

View File

@ -397,6 +397,16 @@ h6:hover .anchor {
text-align: left; text-align: left;
} }
.paginav .name {
display: none;
}
@media screen and (min-width: 540px) {
.paginav .name {
display: block;
}
}
h1>a>svg { h1>a>svg {
display: inline; display: inline;
} }

View File

@ -5,14 +5,14 @@
<a class="prev" href="{{ .Permalink }}"> <a class="prev" href="{{ .Permalink }}">
<span class="title">« {{ i18n "prev_page" }}</span> <span class="title">« {{ i18n "prev_page" }}</span>
<br> <br>
<span>{{- .Name -}}</span> <span class="name">{{- .Name -}}</span>
</a> </a>
{{- end }} {{- end }}
{{- with $pages.Prev . }} {{- with $pages.Prev . }}
<a class="next" href="{{ .Permalink }}"> <a class="next" href="{{ .Permalink }}">
<span class="title">{{ i18n "next_page" }} »</span> <span class="title">{{ i18n "next_page" }} »</span>
<br> <br>
<span>{{- .Name -}}</span> <span class="name">{{- .Name -}}</span>
</a> </a>
{{- end }} {{- end }}
</nav> </nav>