From 64909cea4e841b760841fef5a9aa9136842aa444 Mon Sep 17 00:00:00 2001
From: Bud Parr <budparr@gmail.com>
Date: Fri, 14 Apr 2017 22:57:40 +0000
Subject: [PATCH] fix for mobile
---
layouts/article/single.html | 40 ++++++++++++++++++++--------------------
1 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/layouts/article/single.html b/layouts/article/single.html
index 7ce257a..cf06681 100644
--- a/layouts/article/single.html
+++ b/layouts/article/single.html
@@ -1,24 +1,24 @@
{{ define "header" }}{{ partial "page-header.html" . }}{{ end }}
{{ define "main" }}
-<div class="flex mt5 mw8 center">
- <article class="center cf pv5 mw7">
- <p class="f6 fw8">
- {{ humanize .Section | upper }}
- </p>
- <h1 class="f1 athelas">
- {{ .Title }}
- </h1>
- {{/* TODO: Add Hugo author */}}
- <time class="f6 mv4 dib tracked" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">
- {{ .Date.Format "January 2, 2006" }}
- </time>
- <section class="nested-copy-line-height lh-copy serif f4 measure-wide-l nested-links nested-img mid-gray">
- {{ .Content | markdownify }}
- </section>
- {{ partial "tags.html" . }}
- </article>
- <div class="ph4 mt6">
- {{ partial "menu-contextual.html" . }}
- </div>
+ <div class="flex-l mt5 mw8 center">
+ <article class="center cf pv5 ph3 mw7">
+ <p class="f6 fw8">
+ {{ humanize .Section | upper }}
+ </p>
+ <h1 class="f1 athelas">
+ {{ .Title }}
+ </h1>
+ {{/* TODO: Add Hugo author */}}
+ <time class="f6 mv4 dib tracked" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">
+ {{ .Date.Format "January 2, 2006" }}
+ </time>
+ <section class="nested-copy-line-height lh-copy serif f4 measure-wide-l nested-links nested-img mid-gray">
+ {{ .Content | markdownify }}
+ </section>
+ {{ partial "tags.html" . }}
+ </article>
+ <div class="ph4 mt6">
+ {{ partial "menu-contextual.html" . }}
+ </div>
</div>
{{ end }}
--
Gitblit v1.10.0