aboutsummaryrefslogtreecommitdiff
path: root/templates/note.html
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2024-06-18 18:48:34 +0200
committerMitja Felicijan <mitja.felicijan@gmail.com>2024-06-18 18:48:34 +0200
commitffe3ec0b24834b38564db3c63d99eecdb62a37c4 (patch)
tree8ef0fd0aea4060440d325b33a6e78fcadf9476e4 /templates/note.html
parente34f07dc8bd8db122616b27329404947b49b0d3b (diff)
downloadmitjafelicijan.com-ffe3ec0b24834b38564db3c63d99eecdb62a37c4.tar.gz
Upgraded to jbmafp v0.2
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 }}