posts and tags

This commit is contained in:
fruworg 2023-07-31 23:33:38 +06:00
parent 8c2985cbbe
commit 1462968b15
3 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
{{ if isset .Data "Term" }} {{ if isset .Data "Term" }}
<h1>Все посты - "{{ .Data.Term }}"</h1> <h1>Все посты - "{{ .Data.Term }}"</h1>
{{ else }} {{ else }}
<h1 class="page-title">Все посты</h1> <h1 class="page-title">посты</h1>
{{ end }} {{ end }}
<ul class="posts"> <ul class="posts">

View File

@ -1,8 +1,8 @@
{{ define "main" }} {{ define "main" }}
{{ if isset .Data "Term" }} {{ if isset .Data "Term" }}
<h1>Все посты - "{{ .Data.Term }}"</h1> <h1>посты - "{{ .Data.Term }}"</h1>
{{ else }} {{ else }}
<h1 class="page-title">Все посты</h1> <h1 class="page-title">посты</h1>
{{ end }} {{ end }}
<ul class="posts"> <ul class="posts">

View File

@ -1,5 +1,5 @@
{{ define "main" }} {{ define "main" }}
<h1 class="page-title">Все теги</h1> <h1 class="page-title">теги</h1>
{{ $biggest := 1 }} {{ $biggest := 1 }}
{{ $smallest := 1 }} {{ $smallest := 1 }}