Вернул потерявшийся ToC
All checks were successful
/ site (push) Successful in 2s

This commit is contained in:
Артём 2024-07-02 20:59:39 +03:00
parent 727f9c6e53
commit c580f172fe
No known key found for this signature in database
GPG key ID: EEFBB39006B28920
3 changed files with 7 additions and 2 deletions

View file

@ -1,7 +1,6 @@
---
showFullContent: true
---
---
|Никого не принуждаю, но если можете, отсыпьте копеечку: | [Свобода добра](https://habr.com/ru/articles/648857) |
| --- | --- |

View file

@ -10,6 +10,11 @@
<h1 class="post-title">
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
</h1>
<aside>
{{ .TableOfContents }}
</aside>
<div class="post-meta">
{{- if .Date -}}
<time class="post-date">
@ -49,6 +54,7 @@
</div>
{{ end }}
</article>
{{ end }}
{{ partial "pagination.html" . }}

View file

@ -9,7 +9,7 @@
<aside>
{{ .TableOfContents }}
</aside>
{{ .Content }}
</article>