Шаблон для списков
All checks were successful
Build and deploy mmote.ru / Build-And-Deploy (push) Successful in 23s

This commit is contained in:
MultiMote 2024-06-05 09:18:03 +03:00
parent 2a7c8a5d84
commit 36cb5dada6

View File

@ -1,3 +1,24 @@
{{ define "head_meta" }}
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}Список ({{.Title}}){{ end }}">
<meta property="og:description" content="{{ with .Description }}{{ . }}{{ else }}Список ({{.Title}}){{ end }}">
{{end}}
{{ define "main" }} {{ define "main" }}
чё за лист <div class="page-wrapper">
{{ end }} <div class="content-column">
<div class="single post">
<header>
<h1>{{ .Title }}</h1>
<p class="subhead">{{ .Params.description }}</p>
</header>
<ul>
{{ range .Pages.ByTitle }}
<li hugo-nav="{{ .RelPermalink}}"><a href="{{ .Permalink}}">{{ .LinkTitle }}</a></li>
{{ end }}
</ul>
</div>
</div>
{{ partial "sidebar.html" . }}
</div>
{{ end }}