inlcude link to note in lists
This commit is contained in:
parent
29eea1d837
commit
b169d4f6c0
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue