inlcude link to note in lists

This commit is contained in:
Niko Abeler 2022-12-01 19:46:31 +01:00
parent 29eea1d837
commit b169d4f6c0
1 changed files with 4 additions and 1 deletions

View File

@ -3,10 +3,13 @@
<div class="h-entry">
<hgroup>
{{ if eq .Meta.Type "note"}}
<h6><a class="u-url" href="{{.UrlPath}}">
{{ if .Title }}{{.Title}}{{ else }}#{{.Id}}{{ end }}
</a></h6>
<p>{{.RenderedContent | noescape}}</p>
{{ else }}
<h3><a class="u-url" href="{{.UrlPath}}">
{{ if .Title }}{{.Title}}{{ else }}{{.Id}}{{ end }}
{{ if .Title }}{{.Title}}{{ else }}#{{.Id}}{{ end }}
</a></h3>
{{ end }}
<small>