mirror of
https://github.com/fruworg/themu.git
synced 2024-11-16 07:07:16 +03:00
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:
parent
24c5dcf9e7
commit
0ff0b4fd3f
@ -18,7 +18,6 @@
|
|||||||
<h1 class="title"><a href="{{ .RelPermalink }}">{{.Title}}</a></h1>
|
<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>
|
<time>{{ dateFormat "Jan 2, 2006" .Date }}{{ if .Draft }} <span class="draft-label">DRAFT</span> {{ end }}</time>
|
||||||
<br>{{ template "partials/pagedescription.html" . }}
|
<br>{{ template "partials/pagedescription.html" . }}
|
||||||
<a class="readmore" href="{{ .RelPermalink }}">Read more ⟶</a>
|
|
||||||
</section>
|
</section>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ template "partials/paginator.html" . }}
|
{{ template "partials/paginator.html" . }}
|
||||||
|
@ -9,5 +9,3 @@
|
|||||||
{{ if not .Site.IsServer }}
|
{{ if not .Site.IsServer }}
|
||||||
{{ template "_internal/google_analytics_async.html" . }}
|
{{ template "_internal/google_analytics_async.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{- end -}}
|
|
||||||
|
@ -3,12 +3,12 @@
|
|||||||
<ul class="pagination">
|
<ul class="pagination">
|
||||||
<span class="page-item page-prev">
|
<span class="page-item page-prev">
|
||||||
{{ if $pag.HasPrev }}
|
{{ 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 }}
|
{{ end }}
|
||||||
</span>
|
</span>
|
||||||
<span class="page-item page-next">
|
<span class="page-item page-next">
|
||||||
{{ 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">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 }}
|
{{ end }}
|
||||||
</span>
|
</span>
|
||||||
</ul>
|
</ul>
|
||||||
|
Loading…
Reference in New Issue
Block a user