Committer: root <root@fruw.org>

On branch master
Your branch is up to date with 'origin/master'.

Changes to be committed:
	modified:   layouts/index.html
	modified:   layouts/partials/footer.html
	modified:   layouts/partials/paginator.html
This commit is contained in:
root 2023-07-27 23:24:25 +05:00
parent 24c5dcf9e7
commit 0ff0b4fd3f
3 changed files with 2 additions and 5 deletions

View File

@ -18,7 +18,6 @@
<h1 class="title"><a href="{{ .RelPermalink }}">{{.Title}}</a></h1>
<time>{{ dateFormat "Jan 2, 2006" .Date }}{{ if .Draft }} <span class="draft-label">DRAFT</span> {{ end }}</time>
<br>{{ template "partials/pagedescription.html" . }}
<a class="readmore" href="{{ .RelPermalink }}">Read more ⟶</a>
</section>
{{ end }}
{{ template "partials/paginator.html" . }}

View File

@ -9,5 +9,3 @@
{{ if not .Site.IsServer }}
{{ template "_internal/google_analytics_async.html" . }}
{{ end }}
{{- end -}}

View File

@ -3,12 +3,12 @@
<ul class="pagination">
<span class="page-item page-prev">
{{ if $pag.HasPrev }}
<a {{ if $pag.HasPrev }}href="{{ $pag.Prev.URL }}"{{ end }} class="page-link" aria-label="Previous"><span aria-hidden="true">Prev</span></a>
<a {{ if $pag.HasPrev }}href="{{ $pag.Prev.URL }}"{{ end }} class="page-link" aria-label="Previous"><span aria-hidden="true">Назад</span></a>
{{ end }}
</span>
<span class="page-item page-next">
{{ if $pag.HasNext }}
<a {{ if $pag.HasNext }}href="{{ $pag.Next.URL }}"{{ end }} class="page-link" aria-label="Next"><span aria-hidden="true">Next</span></a>
<a {{ if $pag.HasNext }}href="{{ $pag.Next.URL }}"{{ end }} class="page-link" aria-label="Next"><span aria-hidden="true">Вперёд</span></a>
{{ end }}
</span>
</ul>