„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> </a>
</h2> </h2>
<p> <p>
{{ post.content | truncatewords:20 }} {{ post.content | truncatewords:30 }}
</p> </p>
{% assign wordcount = post.content | number_of_words %} {% assign wordcount = post.content | number_of_words %}
{% if wordcount > 20 %} {% if wordcount > 30 %}
<p> <p>
<a class="btn btn-default" href="{{ post.url | prepend: site.baseurl }}" role="button"> <a class="btn btn-default" href="{{ post.url | prepend: site.baseurl }}" role="button">
&gt; Weiterlesen &gt; Weiterlesen