about summary refs log tree commit diff stats
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.lz
website-c649194fdc77889ca282c2f42507d777b3b933f6.tar.zst
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 @@
 ---
 title: "Home"
 ---
+<p class="p-note">
 I work as a Full-stack Developer in Berlin.  I occasionally write about Emacs and
 development-related topics.
+</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 @@
 {{ define "main" -}}
 <main class="h-card">
-  <img height="128" width="128" class="u-photo" src="/img/me-thumb.jpg" />
+  <img height="128" width="128" class="u-photo" src="/img/me-thumb.jpg" alt="photo of me" />
   <h1 class="p-name">Alan Pearce</h1>
-  <section class="p-note">
-    {{ .Content }}
-  </section>
+  {{ .Content }}
   <section>
     <h2>Latest Posts</h2>
     <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 @@
     </p>
   </header>
 
-  <main class="e-content">
+  <div class="e-content">
   {{ .Content }}
-  </main>
+  </div>
 </article>
 {{- end }}