Improve semantic structure

This commit is contained in:
budparr 2018-04-09 10:22:02 -04:00
parent 1f4e740236
commit 65de4fddb0
No known key found for this signature in database
GPG Key ID: 05AB7813F9C39728

View File

@ -4,9 +4,9 @@
{{ end }} {{ end }}
{{ define "main" }} {{ define "main" }}
<div class="flex-l flex-wrap mt2 mw8 center"> <article class="flex-l flex-wrap mt2 mw8 center">
<article class="center cf pv5 ph3 ph4-ns mw7 w-two-thirds-l"> <main class="center cf pv5 ph3 ph4-ns mw7 w-two-thirds-l">
<p class="f6 b helvetica tracked"> <p class="f6 b helvetica tracked">
{{/* Humanize removes hyphens and capitalizes the first word */}} {{/* Humanize removes hyphens and capitalizes the first word */}}
{{ humanize .Section | upper }} {{ humanize .Section | upper }}
@ -23,11 +23,11 @@
{{ .Content }} {{ .Content }}
</section> </section>
{{ partial "tags.html" . }} {{ partial "tags.html" . }}
</article> </main>
<div class="ph3 mt2 mt6-ns w-third-l"> <aside class="ph3 mt2 mt6-ns w-third-l">
{{ partial "menu-contextual.html" . }} {{ partial "menu-contextual.html" . }}
</div> </aside>
</div> </article>
{{ end }} {{ end }}