Весь контент перенесён в content/yasha/ (7 подразделов). Создан content/semen/ с подразделами: changelog, kb, diary. Навигация — dropdown в навбаре, двухуровневое меню в hugo.toml. Шаблоны, сайдбар, поиск обновлены под вложенные секции.
27 lines
794 B
HTML
27 lines
794 B
HTML
{{ 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 }}
|