Update pos list styles, remove self link from post
This commit is contained in:
@@ -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 }}
|
||||
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user