From 641595d3a1048ef3417240e39b5b41e97bc77a1e Mon Sep 17 00:00:00 2001
From: Regis Philibert <login@regisphilibert.com>
Date: Wed, 05 Feb 2020 14:39:59 +0000
Subject: [PATCH] Merge pull request #254 from budparr/162-fix-safari-reader-view

---
 layouts/_default/single.html |   12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 6a0daf1..648a45e 100755
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -6,15 +6,14 @@
 {{ define "main" }}
   {{ $section := .Site.GetPage "section" .Section }}
   <article class="flex-l flex-wrap justify-between mw8 center ph3">
-
     <header class="mt4 w-100">
-      <p class="f6 b helvetica tracked">
+      <aside class="instapaper_ignoref b helvetica tracked">
           {{/*
           CurrentSection allows us to use the section title instead of inferring from the folder.
           https://gohugo.io/variables/page/#section-variables-and-methods
           */}}
         {{with .CurrentSection.Title }}{{. | upper }}{{end}}
-      </p>
+      </aside>
       <h1 class="f1 athelas mb1">
         {{- .Title -}}
       </h1>
@@ -44,11 +43,10 @@
         <span class="f6 mv4 dib tracked"> - {{ .WordCount}} words</span>
       {{ end }}
     </header>
-
-    <section class="nested-copy-line-height lh-copy serif f4 nested-links nested-img mid-gray pr4-l w-two-thirds-l">
+    <div class="nested-copy-line-height lh-copy serif f4 nested-links nested-img mid-gray pr4-l w-two-thirds-l">
       {{- .Content -}}
       {{- partial "tags.html" . -}}
-      <div class="mt6">
+      <div class="mt6 instapaper_ignoref">
       {{ if .Site.DisqusShortname }}
         {{ template "_internal/disqus.html" . }}
       {{ end }}
@@ -56,7 +54,7 @@
         {{- partial "commento.html" . -}}
       {{ end }}
       </div>
-    </section>
+    </div>
 
     <aside class="w-30-l mt6-l">
       {{- partial "menu-contextual.html" . -}}

--
Gitblit v1.10.0