mirror of
https://github.com/fruworg/themu.git
synced 2025-06-14 02:30:25 +03:00
Committer: root <root@fruw.org>
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
{{ define "main" }}
|
||||
{{ if isset .Data "Term" }}
|
||||
<h1>Entries tagged - "{{ .Data.Term }}"</h1>
|
||||
<h1>Все посты - "{{ .Data.Term }}"</h1>
|
||||
{{ else }}
|
||||
<h1 class="page-title">All articles</h1>
|
||||
<h1 class="page-title">Все посты</h1>
|
||||
{{ end }}
|
||||
|
||||
<ul class="posts">
|
||||
|
@ -1,8 +1,8 @@
|
||||
{{ define "main" }}
|
||||
{{ if isset .Data "Term" }}
|
||||
<h1>Entries tagged - "{{ .Data.Term }}"</h1>
|
||||
<h1>Все посты - "{{ .Data.Term }}"</h1>
|
||||
{{ else }}
|
||||
<h1 class="page-title">All articles</h1>
|
||||
<h1 class="page-title">Все посты</h1>
|
||||
{{ end }}
|
||||
|
||||
<ul class="posts">
|
||||
|
@ -1,5 +1,5 @@
|
||||
{{ define "main" }}
|
||||
<h1 class="page-title">All tags</h1>
|
||||
<h1 class="page-title">Все теги</h1>
|
||||
|
||||
{{ $biggest := 1 }}
|
||||
{{ $smallest := 1 }}
|
||||
|
@ -4,11 +4,15 @@
|
||||
<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">← Назад</span></a>
|
||||
{{ else }}
|
||||
<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">
|
||||
{{ 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 }}
|
||||
<a {{ if $pag.HasPrev }}href="{{ $pag.Prev.URL }}"{{ end }} class="page-link" aria-label="Previous"><span aria-hidden="true">← Назад</span></a>
|
||||
{{ end }}
|
||||
</span>
|
||||
</ul>
|
||||
|
Reference in New Issue
Block a user