2023-09-25 22:55:30 +03:00
|
|
|
|
{{ "<!-- Добро пожаловать на мой веб-сайт! -->" | safeHTML }}
|
|
|
|
|
{{ "<!-- Сайт сделан на HUGO, тема - themu -->" | safeHTML }}
|
|
|
|
|
{{ "<!-- Контент лицензирован под СС BY-SA -->" | safeHTML }}
|
|
|
|
|
{{ "<!-- ASCII-арт взят с сайта asciiart.eu -->" | safeHTML }}
|
2020-04-08 21:44:29 +03:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html>
|
2020-04-22 13:14:28 +03:00
|
|
|
|
{{ partial "header.html" . }}
|
|
|
|
|
<body>
|
|
|
|
|
<div class="content">
|
|
|
|
|
{{ partial "head.html" . }}
|
|
|
|
|
|
2020-04-08 21:44:29 +03:00
|
|
|
|
<main class="list">
|
2020-04-22 13:14:28 +03:00
|
|
|
|
<div class="site-description">
|
2023-07-31 19:35:47 +03:00
|
|
|
|
{{- if .Param "subtitlefile" -}}
|
2023-07-31 19:30:53 +03:00
|
|
|
|
{{ template "partials/subtitle.html" . }}
|
|
|
|
|
{{- else if isset .Site.Params "subtitle" -}}
|
|
|
|
|
<p>{{ .Site.Params.Subtitle | markdownify }}</p>
|
2020-04-22 13:14:28 +03:00
|
|
|
|
{{- end -}}
|
|
|
|
|
</div>
|
2020-04-08 21:44:29 +03:00
|
|
|
|
{{ $pages := where .Site.RegularPages "Type" "in" .Site.Params.mainSections }}
|
|
|
|
|
{{ $paginator := .Paginate (where $pages "Params.hidden" "ne" true) }}
|
|
|
|
|
{{ range $paginator.Pages }}
|
|
|
|
|
<section class="list-item">
|
|
|
|
|
<h1 class="title"><a href="{{ .RelPermalink }}">{{.Title}}</a></h1>
|
2023-09-25 15:38:34 +03:00
|
|
|
|
<time datetime="{{ .Date.Format "01-02-2006 15:04:05"}}">{{ .Site.Data.Strings.publishedon}} {{.Date.Day}} {{ index $.Site.Data.months.months .Date.Month }} {{.Date.Year}}, {{ .Date.Format "15:04" }} {{ if .Draft }} <span class="draft-label">DRAFT</span> {{ end }}</time>
|
2022-11-27 14:59:33 +03:00
|
|
|
|
<br>{{ template "partials/pagedescription.html" . }}
|
2020-04-08 21:44:29 +03:00
|
|
|
|
</section>
|
|
|
|
|
{{ end }}
|
|
|
|
|
{{ template "partials/paginator.html" . }}
|
|
|
|
|
</main>
|
|
|
|
|
{{ partial "footer.html" . }}
|
|
|
|
|
</div>
|
|
|
|
|
|
2020-04-22 13:14:28 +03:00
|
|
|
|
</body>
|
|
|
|
|
</html>
|