From 5de8db332ce8946f91839894edc116d99cf4d03e Mon Sep 17 00:00:00 2001
From: Troy Lindsay <tlindsay42@users.noreply.github.com>
Date: Wed, 02 Feb 2022 17:51:43 +0000
Subject: [PATCH] Fix support for img width (#480) (#481)

---
 layouts/_default/list.html     |    2 +-
 layouts/_default/single.html   |    2 +-
 layouts/post/list.html         |    2 +-
 layouts/_default/taxonomy.html |    2 +-
 layouts/page/single.html       |    2 +-
 layouts/_default/terms.html    |    2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 713192f..961bc5c 100755
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,5 +1,5 @@
 {{ define "main" }}
-  <article class="pa3 pa4-ns nested-copy-line-height nested-img">
+  <article class="pa3 pa4-ns nested-copy-line-height">
     <section class="cf ph3 ph5-l pv3 pv4-l f4 tc-l center measure-wide lh-copy {{ $.Param "text_color" | default "mid-gray" }}">
       {{- .Content -}}
     </section>
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index f9efd2f..aa871f0 100755
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -47,7 +47,7 @@
         <span class="f6 mv4 dib tracked"> - {{ i18n "wordCount" .WordCount }} </span>
       {{ end }}
     </header>
-    <div class="nested-copy-line-height lh-copy {{ $.Param "post_content_classes"  | default "serif"}} f4 nested-links nested-img {{ $.Param "text_color" | default "mid-gray" }} pr4-l w-two-thirds-l">
+    <div class="nested-copy-line-height lh-copy {{ $.Param "post_content_classes"  | default "serif"}} f4 nested-links {{ $.Param "text_color" | default "mid-gray" }} pr4-l w-two-thirds-l">
       {{- .Content -}}
       {{- partial "tags.html" . -}}
       <div class="mt6 instapaper_ignoref">
diff --git a/layouts/_default/taxonomy.html b/layouts/_default/taxonomy.html
index 33d8efb..ab512e6 100644
--- a/layouts/_default/taxonomy.html
+++ b/layouts/_default/taxonomy.html
@@ -1,6 +1,6 @@
 {{ define "main" }}
   <article class="cf pa3 pa4-m pa4-l">
-    <div class="measure-wide-l center f4 lh-copy nested-copy-line-height nested-links nested-img {{ $.Param "text_color" | default "mid-gray" }}">
+    <div class="measure-wide-l center f4 lh-copy nested-copy-line-height nested-links {{ $.Param "text_color" | default "mid-gray" }}">
       <p>{{ i18n "taxonomyPageList" . }}</p>
     </div>
   </article>
diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html
index 31560f1..de03410 100644
--- a/layouts/_default/terms.html
+++ b/layouts/_default/terms.html
@@ -1,7 +1,7 @@
 {{ define "main" }}
     {{ $data := .Data }}
   <article class="cf pa3 pa4-m pa4-l">
-    <div class="measure-wide-l center f4 lh-copy nested-copy-line-height nested-links nested-img {{ $.Param "text_color" | default "mid-gray" }}">
+    <div class="measure-wide-l center f4 lh-copy nested-copy-line-height nested-links {{ $.Param "text_color" | default "mid-gray" }}">
       {{ .Content }}
     </div>
   </article>
diff --git a/layouts/page/single.html b/layouts/page/single.html
index fff3754..9770d16 100644
--- a/layouts/page/single.html
+++ b/layouts/page/single.html
@@ -10,7 +10,7 @@
           {{ .Title }}
         </h1>
       </header>
-      <div class="nested-copy-line-height lh-copy f4 nested-links nested-img {{ $.Param "text_color" | default "mid-gray" }}">
+      <div class="nested-copy-line-height lh-copy f4 nested-links {{ $.Param "text_color" | default "mid-gray" }}">
         {{ .Content }}
       </div>
     </article>
diff --git a/layouts/post/list.html b/layouts/post/list.html
index f6cf4bd..27ff4c0 100644
--- a/layouts/post/list.html
+++ b/layouts/post/list.html
@@ -2,7 +2,7 @@
 {{/*
   This template is the same as the default and is here to demonstrate that if you have a content directory called "post" you can create a layouts directory, just for that section.
    */}}
-  <article class="pa3 pa4-ns nested-copy-line-height nested-img">
+  <article class="pa3 pa4-ns nested-copy-line-height">
     <section class="cf ph3 ph5-l pv3 pv4-l f4 tc-l center measure-wide lh-copy {{ $.Param "text_color" | default "mid-gray" }}">
       {{ .Content }}
     </section>

--
Gitblit v1.10.0