Реструктуризация: два глобальных раздела — Яша и Семен

Весь контент перенесён в content/yasha/ (7 подразделов).
Создан content/semen/ с подразделами: changelog, kb, diary.
Навигация — dropdown в навбаре, двухуровневое меню в hugo.toml.
Шаблоны, сайдбар, поиск обновлены под вложенные секции.
This commit is contained in:
Агальцов Антон
2026-04-26 19:44:52 +03:00
parent cc0b342208
commit dd67d2c2ec
249 changed files with 6900 additions and 9153 deletions
@@ -0,0 +1,26 @@
{{ define "main" }}
<div class="article-content creds-card">
<h1>{{ .Title }}</h1>
{{ partial "source-path.html" . }}
{{ if .Params.description }}
<p>{{ .Params.description }}</p>
{{ end }}
{{ if .Params.service }}
<p class="text-muted mb-2"><strong>Сервис:</strong> {{ .Params.service }}</p>
{{ end }}
<div class="encrypted-data" id="encrypted-{{ .File.ContentBaseName }}">
{{ .Plain | base64Encode }}
</div>
<div class="decrypted-fields" id="decrypted-{{ .File.ContentBaseName }}" style="display: none;">
<!-- Decrypted content will be inserted here -->
</div>
<button class="btn btn-primary mt-3 decrypt-btn" data-id="{{ .File.ContentBaseName }}">
Расшифровать
</button>
</div>
{{ end }}