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

Patrick Kollitsch
20 hours ago 8e079b951a277aeda4713ab58db18896bfc6db31
fix: define summary image dimensions
1 files modified
2 ■■■ changed files
layouts/summary-with-image.html 2 ●●● patch | view | raw | blame | history
layouts/summary-with-image.html
@@ -6,7 +6,7 @@
          {{/* Trimming the slash and adding absURL make sure the image works no matter collections.Where our site lives */}}
        <div class="{{ compare.Conditional (compare.Eq $.Site.Language.Direction "rtl") "pl3-ns" "pr3-ns" }} mb4 mb0-ns w-100 w-40-ns">
          <a href="{{.RelPermalink}}" class="db grow">
            <img src="{{ $featured_image }}" class="img" alt="image from {{ .Title }}">
            <img src="{{ $featured_image }}" class="img" alt="image from {{ .Title }}" width="600" height="400">
          </a>
        </div>
      {{ end }}