Files
docs.a2v.space/themes/a2v/layouts/yasha/plans/single.html
T
Агальцов Антон dd67d2c2ec Реструктуризация: два глобальных раздела — Яша и Семен
Весь контент перенесён в content/yasha/ (7 подразделов).
Создан content/semen/ с подразделами: changelog, kb, diary.
Навигация — dropdown в навбаре, двухуровневое меню в hugo.toml.
Шаблоны, сайдбар, поиск обновлены под вложенные секции.
2026-04-26 19:44:52 +03:00

41 lines
1.3 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{{ define "main" }}
<div class="article-content">
<h1>{{ .Title }}</h1>
{{ partial "source-path.html" . }}
<div class="d-flex justify-content-between align-items-start mb-3">
<h1>{{ .Title }}</h1>
<span class="status-badge h5">
{{ if eq .Params.status "planned" }}🟡 Запланировано{{ end }}
{{ if eq .Params.status "in_progress" }}🟠 В процессе{{ end }}
{{ if eq .Params.status "done" }}✅ Сделано{{ end }}
{{ if eq .Params.status "cancelled" }}❌ Отменено{{ end }}
</span>
</div>
<div class="row mb-3">
{{ if .Params.plan_date }}
<div class="col">
<strong>Планируется:</strong> {{ time .Params.plan_date | dateFormat "02.01.2006" }}
</div>
{{ end }}
{{ if .Params.done_date }}
<div class="col">
<strong>Завершено:</strong> {{ time .Params.done_date | dateFormat "02.01.2006" }}
</div>
{{ end }}
<div class="col">
<strong>Запланировано:</strong> {{ .Date.Format "02.01.2006" }}
</div>
</div>
{{ .Content }}
{{ if .Params.context_quote }}
<blockquote class="context-quote">
{{ .Params.context_quote }}
</blockquote>
{{ end }}
</div>
{{ end }}