aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html4
-rw-r--r--templates/index.html6
-rw-r--r--templates/note.html4
-rw-r--r--templates/post.html6
4 files changed, 11 insertions, 9 deletions
diff --git a/templates/base.html b/templates/base.html
index c5b4f9e..eb756c2 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -127,7 +127,7 @@
127 <body> 127 <body>
128 128
129 <header> 129 <header>
130 <nav class="main"> 130 <nav class="main" itemscope itemtype="http://schema.org/SiteNavigationElement" role="toolbar">
131 <a href="/">Home</a> 131 <a href="/">Home</a>
132 <a href="https://git.mitjafelicijan.com/" target="_blank">Git</a> 132 <a href="https://git.mitjafelicijan.com/" target="_blank">Git</a>
133 <a href="https://files.mitjafelicijan.com/" target="_blank">Files</a> 133 <a href="https://files.mitjafelicijan.com/" target="_blank">Files</a>
@@ -139,7 +139,7 @@
139 {{ block "add-navigation" . }}{{ end }} 139 {{ block "add-navigation" . }}{{ end }}
140 </header> 140 </header>
141 141
142 <main> 142 <main role="main">
143 {{ block "content" . }}{{ end }} 143 {{ block "content" . }}{{ end }}
144 </main> 144 </main>
145 145
diff --git a/templates/index.html b/templates/index.html
index 6989a45..8ee7ab5 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -55,7 +55,8 @@
55 </table> 55 </table>
56 56
57 <h2><a name="posts"></a>More long form, ramblings etc</h2> 57 <h2><a name="posts"></a>More long form, ramblings etc</h2>
58 <ul> 58 <ul itemscope itemtype="https://schema.org/SiteNavigationElement">
59 <meta itemprop="name" content="Article list">
59 {{ range .Pages }} 60 {{ range .Pages }}
60 {{ if eq .Type "post" }} 61 {{ if eq .Type "post" }}
61 <li><a href="/{{ .RelPermalink }}">{{ .Title }}</a></li> 62 <li><a href="/{{ .RelPermalink }}">{{ .Title }}</a></li>
@@ -65,7 +66,8 @@
65 66
66 <h2><a name="notes"></a>Notes?! Maybe useful</h2> 67 <h2><a name="notes"></a>Notes?! Maybe useful</h2>
67 <h2></h2> 68 <h2></h2>
68 <ul> 69 <ul itemscope itemtype="https://schema.org/SiteNavigationElement">
70 <meta itemprop="name" content="Note list">
69 {{ range .Pages }} 71 {{ range .Pages }}
70 {{ if eq .Type "note" }} 72 {{ if eq .Type "note" }}
71 <li><a href="/{{ .RelPermalink }}">{{ .Title }}</a></li> 73 <li><a href="/{{ .RelPermalink }}">{{ .Title }}</a></li>
diff --git a/templates/note.html b/templates/note.html
index 2518d1a..4ce21a0 100644
--- a/templates/note.html
+++ b/templates/note.html
@@ -4,8 +4,8 @@
4{{ define "description" }}{{ .Page.Summary }}{{ end }} 4{{ define "description" }}{{ .Page.Summary }}{{ end }}
5 5
6{{ define "content" }} 6{{ define "content" }}
7<div> 7<article itemtype="http://schema.org/Article">
8 <h1>{{ .Page.Title }}</h1> 8 <h1 itemtype="headline">{{ .Page.Title }}</h1>
9 <p><cap>{{ .Page.Type }}</cap>, {{ .Page.Created.Format "Jan 2, 2006" }}</p> 9 <p><cap>{{ .Page.Type }}</cap>, {{ .Page.Created.Format "Jan 2, 2006" }}</p>
10 <div> 10 <div>
11 {{ .Page.HTML }} 11 {{ .Page.HTML }}
diff --git a/templates/post.html b/templates/post.html
index 2518d1a..7b6c18e 100644
--- a/templates/post.html
+++ b/templates/post.html
@@ -4,11 +4,11 @@
4{{ define "description" }}{{ .Page.Summary }}{{ end }} 4{{ define "description" }}{{ .Page.Summary }}{{ end }}
5 5
6{{ define "content" }} 6{{ define "content" }}
7<div> 7<article itemtype="http://schema.org/Article">
8 <h1>{{ .Page.Title }}</h1> 8 <h1 itemtype="headline">{{ .Page.Title }}</h1>
9 <p><cap>{{ .Page.Type }}</cap>, {{ .Page.Created.Format "Jan 2, 2006" }}</p> 9 <p><cap>{{ .Page.Type }}</cap>, {{ .Page.Created.Format "Jan 2, 2006" }}</p>
10 <div> 10 <div>
11 {{ .Page.HTML }} 11 {{ .Page.HTML }}
12 </div> 12 </div>
13</div> 13</article>
14{{ end }} 14{{ end }}