mirror of https://github.com/lxndrblz/anatole.git

Łukasz
19.10.2025 e1aaaf7463756f65a866ff15f4c15e25b78c82fe
fix: planify post content on index (#545)

1 files modified
4 ■■■■ changed files
layouts/index.html 4 ●●●● patch | view | raw | blame | history
layouts/index.html
@@ -55,9 +55,9 @@
          <h3><a href="{{ .RelPermalink }}">{{ upper .Title }}</a></h3>
        {{ end }}
        {{ if .Site.Params.fullPostContent }}
          <p>{{ .Content | safeHTML }}</p>
          <p>{{ .Content | safeHTML | plainify }}</p>
        {{ else }}
          <p>{{ .Summary | safeHTML }}</p>
          <p>{{ .Summary | safeHTML | plainify }}</p>
        {{ end }}
        <!-- add read more -->
        {{- if and (.Truncated) (.Site.Params.readMore) -}}