Home: Add "read more" link to announcement summary
Adding an ellipsis doesn't really work for both cases.
This commit is contained in:
parent
0f533e21e5
commit
765d271531
|
@ -18,6 +18,9 @@
|
||||||
{{- else }}
|
{{- else }}
|
||||||
<p>{{ .Summary | safeHTML }}</p>
|
<p>{{ .Summary | safeHTML }}</p>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Truncated }}
|
||||||
|
<p class="ellipsis"><a href="{{ .RelPermalink }}">mehr lesen</a></p>
|
||||||
|
{{- end }}
|
||||||
</div>
|
</div>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue