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