Browse Source

remove p tags from .Summary

tags/v1.1
Bud Parr 7 years ago
parent
commit
95af995e96
No account linked to committer's email address

+ 2
- 2
layouts/partials/summary-with-image.html View File

{{ end }} {{ end }}
<div class="w-100{{ if .Params.featured_image }} w-60-ns pl3-ns{{ end }}"> <div class="w-100{{ if .Params.featured_image }} w-60-ns pl3-ns{{ end }}">
<h1 class="f3 fw1 athelas mt0 lh-title">{{ .Title }}</h1> <h1 class="f3 fw1 athelas mt0 lh-title">{{ .Title }}</h1>
<p class="f6 f5-l lh-copy">
<div class="f6 f5-l lh-copy nested-copy-line-height">
{{ .Summary }} {{ .Summary }}
</p>
</div>
{{/* TODO: add author {{/* TODO: add author
<p class="f6 lh-copy mv0">By {{ .Author }}</p> */}} <p class="f6 lh-copy mv0">By {{ .Author }}</p> */}}
</div> </div>

+ 2
- 4
layouts/partials/summary.html View File

{{ .Title }} {{ .Title }}
</a> </a>
</h1> </h1>
<div class="nested-links f5 nested-copy-line-height">
<p>
{{ .Summary }}
</p>
<div class="nested-links f5 lh-copy nested-copy-line-height">
{{ .Summary }}
</div> </div>
</div> </div>
</div> </div>

+ 2
- 2
layouts/post/summary-with-image.html View File

{{ end }} {{ end }}
<div class="w-100{{ if .Params.featured_image }} w-60-ns pl3-ns{{ end }}"> <div class="w-100{{ if .Params.featured_image }} w-60-ns pl3-ns{{ end }}">
<h1 class="f3 fw1 athelas mt0 lh-title">{{ .Title }}</h1> <h1 class="f3 fw1 athelas mt0 lh-title">{{ .Title }}</h1>
<p class="f6 f5-l lh-copy">
<div class="f6 f5-l lh-copy nested-copy-line-height">
{{ .Summary }} {{ .Summary }}
</p>
</div>
{{/* TODO: add author {{/* TODO: add author
<p class="f6 lh-copy mv0">By {{ .Author }}</p> */}} <p class="f6 lh-copy mv0">By {{ .Author }}</p> */}}
</div> </div>

+ 2
- 4
layouts/post/summary.html View File

{{ .Title }} {{ .Title }}
</a> </a>
</h1> </h1>
<div class="nested-links f5 nested-copy-line-height">
<p>
{{ .Summary }}
</p>
<div class="nested-links f5 lh-copy nested-copy-line-height">
{{ .Summary }}
</div> </div>
</div> </div>

Loading…
Cancel
Save