Update pos list styles, remove self link from post

This commit is contained in:
Alex Shpak
2024-10-02 13:25:16 +02:00
parent 35bf672b70
commit 2f64607bc9
7 changed files with 36 additions and 34 deletions
+2 -2
View File
@@ -5,12 +5,12 @@
<a href="{{ .RelPermalink }}">{{ partial "docs/title.html" . }}</a>
</h2>
{{ partial "docs/post-meta" . }}
<p>
<div class="book-post-content">
{{- .Summary -}}
{{ if .Truncated }}
<a href="{{ .RelPermalink }}">...</a>
{{ end }}
</p>
</div>
</article>
{{ end }}
+6 -4
View File
@@ -1,10 +1,12 @@
{{ define "main" }}
<article class="markdown book-post">
<h1>
<a href="{{ .RelPermalink }}">{{ partial "docs/title.html" . }}</a>
</h1>
<h2>
{{ partial "docs/title.html" . }}
</h2>
{{ partial "docs/post-meta" . }}
{{- .Content -}}
<div class="book-post-content">
{{- .Content -}}
</div>
</article>
{{ end }}