mirror of
https://github.com/fruworg/themu.git
synced 2024-11-16 07:07:16 +03:00
34 lines
1.2 KiB
HTML
34 lines
1.2 KiB
HTML
<!--
|
||
Добро пожаловать на мой веб-сайт!
|
||
Создано с помощью hugo (themu).
|
||
-->
|
||
<!DOCTYPE html>
|
||
<html>
|
||
{{ partial "header.html" . }}
|
||
<body>
|
||
<div class="content">
|
||
{{ partial "head.html" . }}
|
||
|
||
<main class="list">
|
||
<div class="site-description">
|
||
{{- if isset .Site.Params "subtitle" -}}
|
||
<pre>{{ .Site.Params.Subtitle | markdownify }}</pre>
|
||
{{- end -}}
|
||
</div>
|
||
{{ $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>
|
||
<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 .Site.Data.Formats.time }} {{ if .Draft }} <span class="draft-label">DRAFT</span> {{ end }}</time>
|
||
<br>{{ template "partials/pagedescription.html" . }}
|
||
</section>
|
||
{{ end }}
|
||
{{ template "partials/paginator.html" . }}
|
||
</main>
|
||
{{ partial "footer.html" . }}
|
||
</div>
|
||
|
||
</body>
|
||
</html>
|