summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Pearce2020-01-19 17:22:11 +0100
committerAlan Pearce2020-01-19 17:28:07 +0100
commitc649194fdc77889ca282c2f42507d777b3b933f6 (patch)
tree66d3e535b03a22a7fa94ca22dc75e5c9f7a672e4
parentad0eccb9c649571c140e436f385d944a8b6a03f1 (diff)
downloadwebsite-c649194fdc77889ca282c2f42507d777b3b933f6.tar.xz
website-c649194fdc77889ca282c2f42507d777b3b933f6.zip
Make markup html5 compatible
-rw-r--r--content/_index.md2
-rw-r--r--layouts/index.html6
-rw-r--r--themes/xmin/layouts/_default/single.html4
3 files changed, 6 insertions, 6 deletions
diff --git a/content/_index.md b/content/_index.md
index eeb5ab7..c21b9ee 100644
--- a/content/_index.md
+++ b/content/_index.md
@@ -1,5 +1,7 @@
1--- 1---
2title: "Home" 2title: "Home"
3--- 3---
4<p class="p-note">
4I work as a Full-stack Developer in Berlin. I occasionally write about Emacs and 5I work as a Full-stack Developer in Berlin. I occasionally write about Emacs and
5development-related topics. 6development-related topics.
7</p>
diff --git a/layouts/index.html b/layouts/index.html
index 2478aa6..18f6806 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,10 +1,8 @@
1{{ define "main" -}} 1{{ define "main" -}}
2<main class="h-card"> 2<main class="h-card">
3 <img height="128" width="128" class="u-photo" src="/img/me-thumb.jpg" /> 3 <img height="128" width="128" class="u-photo" src="/img/me-thumb.jpg" alt="photo of me" />
4 <h1 class="p-name">Alan Pearce</h1> 4 <h1 class="p-name">Alan Pearce</h1>
5 <section class="p-note"> 5 {{ .Content }}
6 {{ .Content }}
7 </section>
8 <section> 6 <section>
9 <h2>Latest Posts</h2> 7 <h2>Latest Posts</h2>
10 <ul> 8 <ul>
diff --git a/themes/xmin/layouts/_default/single.html b/themes/xmin/layouts/_default/single.html
index ba0e22a..b69ed7c 100644
--- a/themes/xmin/layouts/_default/single.html
+++ b/themes/xmin/layouts/_default/single.html
@@ -12,8 +12,8 @@
12 </p> 12 </p>
13 </header> 13 </header>
14 14
15 <main class="e-content"> 15 <div class="e-content">
16 {{ .Content }} 16 {{ .Content }}
17 </main> 17 </div>
18</article> 18</article>
19{{- end }} 19{{- end }}