Rework Notes page: balanced two columns, filter, bibliography section, drop prev/next links

This commit is contained in:
tdehaeze committed 2026-10-17 21:49:47 +02:00
1 parent 0699938cd5
commit 2490e8bbb1
10 files changed
+364 -30

No files matched your search

+34
View File
@@ -0,0 +1,34 @@
{{ define "content" -}}
<article class="post">
<!-- post-header -->
<header class="post-header">
<h1 class="post-title">{{ .Title | title }}</h1>
</header>
<!-- TOC -->
{{- partial "post/toc.html" . -}}
<!-- Content -->
<div class="post-content">
{{ .Content }}
</div>
<!-- Backlinks -->
{{ partial "backlinks" . }}
<footer class="post-footer">
{{ with .Params.tags -}}
<div class="post-tags">
{{ range . -}}
<a href="{{ "tags" | relLangURL }}/{{ . | urlize }}/">{{ . }}</a>
{{ end -}}
</div>
{{- end -}}
<!-- Post Pagination -->
</footer>
</article>
<div id="comments">
{{ partial "comments.html" $ }}
</div>
{{- end }}