Breaking changes, rewrite; add support for plain text output and single page mode

This commit is contained in:
Alex Shpak
2026-05-14 23:55:08 +02:00
parent 4018d4b51d
commit c6ef0a08c2
36 changed files with 165 additions and 72 deletions
+9
View File
@@ -10,6 +10,15 @@
{{ end }}
</div>
<div>
{{ with .OutputFormats.Get "txt" }}
<a class="flex align-center" href="{{ .RelPermalink }}">
<img src="{{ partial "docs/icon" "markdown" }}" class="book-icon" alt="{{ partial "docs/text/i18n" "Markdown" }}" />
<span>{{ partial "docs/text/i18n" "Source" }}</span>
</a>
{{ end }}
</div>
<div>
{{ if and .File .Site.Params.BookEditLink }}
<a class="flex align-center" href="{{ partial "docs/links/edit" . }}" target="_blank" rel="noopener edit">