„index.html“ ändern

This commit is contained in:
613nm 2021-02-19 15:39:10 +00:00
parent 09e84ebe93
commit f8c8871a71

View File

@ -12,10 +12,10 @@ layout: default
</a>
</h2>
<p>
{{ post.content | truncatewords:20 }}
{{ post.content | truncatewords:30 }}
</p>
{% assign wordcount = post.content | number_of_words %}
{% if wordcount > 20 %}
{% if wordcount > 30 %}
<p>
<a class="btn btn-default" href="{{ post.url | prepend: site.baseurl }}" role="button">
&gt; Weiterlesen