mirror of
https://github.com/fruworg/themu.git
synced 2024-11-16 15:07:17 +03:00
posts and tags
This commit is contained in:
parent
8c2985cbbe
commit
1462968b15
@ -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">
|
||||||
|
@ -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">
|
||||||
|
@ -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 }}
|
||||||
|
Loading…
Reference in New Issue
Block a user