inlcude link to note in lists
This commit is contained in:
parent
29eea1d837
commit
b169d4f6c0
|
@ -3,10 +3,13 @@
|
||||||
<div class="h-entry">
|
<div class="h-entry">
|
||||||
<hgroup>
|
<hgroup>
|
||||||
{{ if eq .Meta.Type "note"}}
|
{{ if eq .Meta.Type "note"}}
|
||||||
|
<h6><a class="u-url" href="{{.UrlPath}}">
|
||||||
|
{{ if .Title }}{{.Title}}{{ else }}#{{.Id}}{{ end }}
|
||||||
|
</a></h6>
|
||||||
<p>{{.RenderedContent | noescape}}</p>
|
<p>{{.RenderedContent | noescape}}</p>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<h3><a class="u-url" href="{{.UrlPath}}">
|
<h3><a class="u-url" href="{{.UrlPath}}">
|
||||||
{{ if .Title }}{{.Title}}{{ else }}{{.Id}}{{ end }}
|
{{ if .Title }}{{.Title}}{{ else }}#{{.Id}}{{ end }}
|
||||||
</a></h3>
|
</a></h3>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<small>
|
<small>
|
||||||
|
|
Loading…
Reference in New Issue