mirror of https://github.com/theNewDynamic/gohugo-theme-ananke.git

Bud Parr
18.02.2017 95af995e96cfa2c38891124a70c11fa5da92f61e
remove p tags from .Summary
4 files modified
20 ■■■■■ changed files
layouts/partials/summary-with-image.html 4 ●●●● patch | view | raw | blame | history
layouts/partials/summary.html 6 ●●●●● patch | view | raw | blame | history
layouts/post/summary-with-image.html 4 ●●●● patch | view | raw | blame | history
layouts/post/summary.html 6 ●●●●● patch | view | raw | blame | history
layouts/partials/summary-with-image.html
@@ -8,9 +8,9 @@
      {{ 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>
        <p class="f6 f5-l lh-copy">
        <div class="f6 f5-l lh-copy nested-copy-line-height">
          {{ .Summary }}
        </p>
        </div>
        {{/* TODO: add author
        <p class="f6 lh-copy mv0">By {{ .Author }}</p> */}}
      </div>
layouts/partials/summary.html
@@ -5,10 +5,8 @@
        {{ .Title }}
      </a>
    </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>
layouts/post/summary-with-image.html
@@ -8,9 +8,9 @@
      {{ 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>
        <p class="f6 f5-l lh-copy">
        <div class="f6 f5-l lh-copy nested-copy-line-height">
          {{ .Summary }}
        </p>
        </div>
        {{/* TODO: add author
        <p class="f6 lh-copy mv0">By {{ .Author }}</p> */}}
      </div>
layouts/post/summary.html
@@ -9,9 +9,7 @@
        {{ .Title }}
      </a>
    </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>