aboutsummaryrefslogtreecommitdiff
path: root/templates/note.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/note.html')
-rwxr-xr-xtemplates/note.html17
1 files changed, 15 insertions, 2 deletions
diff --git a/templates/note.html b/templates/note.html
index 36c6a3c..c5241c3 100755
--- a/templates/note.html
+++ b/templates/note.html
@@ -4,11 +4,24 @@
4{{ define "description" }}{{ .Page.Summary }}{{ end }} 4{{ define "description" }}{{ .Page.Summary }}{{ end }}
5 5
6{{ define "content" }} 6{{ define "content" }}
7<div> 7<section>
8 <h1>{{ .Page.Title }}</h1> 8 <h1>{{ .Page.Title }}</h1>
9 <p><cap>{{ .Page.Type }}</cap>, {{ .Page.Created.Format "Jan 2, 2006" }}, on <a href="{{ .Config.BaseURL }}">{{ .Config.Title }}'s blog</a></p> 9 <p><cap>{{ .Page.Type }}</cap>, {{ .Page.Created.Format "Jan 2, 2006" }}, on <a href="{{ .Config.BaseURL }}">{{ .Config.Title }}'s blog</a></p>
10 <div> 10 <div>
11 {{ .Page.HTML }} 11 {{ .Page.HTML }}
12 </div> 12 </div>
13 </div> 13</section>
14
15<br><hr>
16
17<section>
18 <p><big><strong>Other notes</strong></big></p>
19 <ul>
20 {{ range random 20 .Pages }}
21 {{ if and (eq .Type "note") (not .Draft) }}
22 <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
23 {{ end }}
24 {{ end }}
25 </ul>
26</section>
14{{ end }} 27{{ end }}