Fix support for img width (#480)

This commit is contained in:
Troy Lindsay 2022-01-08 13:01:03 -06:00
parent 57e38aad38
commit 612d6c176c
No known key found for this signature in database
GPG Key ID: C82B6E26104FA540
6 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
{{ define "main" }} {{ 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" }}"> <section class="cf ph3 ph5-l pv3 pv4-l f4 tc-l center measure-wide lh-copy {{ $.Param "text_color" | default "mid-gray" }}">
{{- .Content -}} {{- .Content -}}
</section> </section>

View File

@ -47,7 +47,7 @@
<span class="f6 mv4 dib tracked"> - {{ i18n "wordCount" .WordCount }} </span> <span class="f6 mv4 dib tracked"> - {{ i18n "wordCount" .WordCount }} </span>
{{ end }} {{ end }}
</header> </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 -}} {{- .Content -}}
{{- partial "tags.html" . -}} {{- partial "tags.html" . -}}
<div class="mt6 instapaper_ignoref"> <div class="mt6 instapaper_ignoref">

View File

@ -1,6 +1,6 @@
{{ define "main" }} {{ define "main" }}
<article class="cf pa3 pa4-m pa4-l"> <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>Below you will find pages that utilize the taxonomy term “{{ .Title }}”</p> <p>Below you will find pages that utilize the taxonomy term “{{ .Title }}”</p>
</div> </div>
</article> </article>

View File

@ -1,7 +1,7 @@
{{ define "main" }} {{ define "main" }}
{{ $data := .Data }} {{ $data := .Data }}
<article class="cf pa3 pa4-m pa4-l"> <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 }} {{ .Content }}
</div> </div>
</article> </article>

View File

@ -10,7 +10,7 @@
{{ .Title }} {{ .Title }}
</h1> </h1>
</header> </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 }} {{ .Content }}
</div> </div>
</article> </article>

View File

@ -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. 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" }}"> <section class="cf ph3 ph5-l pv3 pv4-l f4 tc-l center measure-wide lh-copy {{ $.Param "text_color" | default "mid-gray" }}">
{{ .Content }} {{ .Content }}
</section> </section>