Make markup html5 compatible
2 files changed, 4 insertions(+), 6 deletions(-)
M layouts/index.html → 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>
M themes/xmin/layouts/_default/single.html → themes/xmin/layouts/_default/single.html
@@ -12,8 +12,8 @@ {{- end }} </p> </header> - <main class="e-content"> + <div class="e-content"> {{ .Content }} - </main> + </div> </article> {{- end }}