fix for mobile

This commit is contained in:
Bud Parr 2017-04-14 18:57:40 -04:00
parent 6fc4c56f65
commit 64909cea4e
No known key found for this signature in database
GPG key ID: ACA375160539D2B3

View file

@ -1,24 +1,24 @@
{{ define "header" }}{{ partial "page-header.html" . }}{{ end }} {{ define "header" }}{{ partial "page-header.html" . }}{{ end }}
{{ define "main" }} {{ define "main" }}
<div class="flex mt5 mw8 center"> <div class="flex-l mt5 mw8 center">
<article class="center cf pv5 mw7"> <article class="center cf pv5 ph3 mw7">
<p class="f6 fw8"> <p class="f6 fw8">
{{ humanize .Section | upper }} {{ humanize .Section | upper }}
</p> </p>
<h1 class="f1 athelas"> <h1 class="f1 athelas">
{{ .Title }} {{ .Title }}
</h1> </h1>
{{/* TODO: Add Hugo author */}} {{/* TODO: Add Hugo author */}}
<time class="f6 mv4 dib tracked" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}"> <time class="f6 mv4 dib tracked" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">
{{ .Date.Format "January 2, 2006" }} {{ .Date.Format "January 2, 2006" }}
</time> </time>
<section class="nested-copy-line-height lh-copy serif f4 measure-wide-l nested-links nested-img mid-gray"> <section class="nested-copy-line-height lh-copy serif f4 measure-wide-l nested-links nested-img mid-gray">
{{ .Content | markdownify }} {{ .Content | markdownify }}
</section> </section>
{{ partial "tags.html" . }} {{ partial "tags.html" . }}
</article> </article>
<div class="ph4 mt6"> <div class="ph4 mt6">
{{ partial "menu-contextual.html" . }} {{ partial "menu-contextual.html" . }}
</div> </div>
</div> </div>
{{ end }} {{ end }}