„index.html“ ändern
This commit is contained in:
parent
09e84ebe93
commit
f8c8871a71
@ -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">
|
||||
> Weiterlesen
|
||||
|
Loading…
Reference in New Issue
Block a user