Skip to content

Commit 5de8db3

Browse files
Fix support for img width (#480) (#481)
Co-authored-by: Regis Philibert <[email protected]>
1 parent 6045d78 commit 5de8db3

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

layouts/_default/list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{ define "main" }}
2-
<article class="pa3 pa4-ns nested-copy-line-height nested-img">
2+
<article class="pa3 pa4-ns nested-copy-line-height">
33
<section class="cf ph3 ph5-l pv3 pv4-l f4 tc-l center measure-wide lh-copy {{ $.Param "text_color" | default "mid-gray" }}">
44
{{- .Content -}}
55
</section>

layouts/_default/single.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ <h1 class="f1 athelas mt3 mb1">
4747
<span class="f6 mv4 dib tracked"> - {{ i18n "wordCount" .WordCount }} </span>
4848
{{ end }}
4949
</header>
50-
<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">
50+
<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">
5151
{{- .Content -}}
5252
{{- partial "tags.html" . -}}
5353
<div class="mt6 instapaper_ignoref">

layouts/_default/taxonomy.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{{ define "main" }}
22
<article class="cf pa3 pa4-m pa4-l">
3-
<div class="measure-wide-l center f4 lh-copy nested-copy-line-height nested-links nested-img {{ $.Param "text_color" | default "mid-gray" }}">
3+
<div class="measure-wide-l center f4 lh-copy nested-copy-line-height nested-links {{ $.Param "text_color" | default "mid-gray" }}">
44
<p>{{ i18n "taxonomyPageList" . }}</p>
55
</div>
66
</article>

layouts/_default/terms.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{{ define "main" }}
22
{{ $data := .Data }}
33
<article class="cf pa3 pa4-m pa4-l">
4-
<div class="measure-wide-l center f4 lh-copy nested-copy-line-height nested-links nested-img {{ $.Param "text_color" | default "mid-gray" }}">
4+
<div class="measure-wide-l center f4 lh-copy nested-copy-line-height nested-links {{ $.Param "text_color" | default "mid-gray" }}">
55
{{ .Content }}
66
</div>
77
</article>

layouts/page/single.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ <h1 class="f1">
1010
{{ .Title }}
1111
</h1>
1212
</header>
13-
<div class="nested-copy-line-height lh-copy f4 nested-links nested-img {{ $.Param "text_color" | default "mid-gray" }}">
13+
<div class="nested-copy-line-height lh-copy f4 nested-links {{ $.Param "text_color" | default "mid-gray" }}">
1414
{{ .Content }}
1515
</div>
1616
</article>

layouts/post/list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{{/*
33
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.
44
*/}}
5-
<article class="pa3 pa4-ns nested-copy-line-height nested-img">
5+
<article class="pa3 pa4-ns nested-copy-line-height">
66
<section class="cf ph3 ph5-l pv3 pv4-l f4 tc-l center measure-wide lh-copy {{ $.Param "text_color" | default "mid-gray" }}">
77
{{ .Content }}
88
</section>

0 commit comments

Comments
 (0)