Skip to content

Commit

Permalink
Update news_block.html
Browse files Browse the repository at this point in the history
  • Loading branch information
strafrecht-admin authored Aug 24, 2023
1 parent 200965a commit e5e9873
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/blocks/widgets/news_block.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ <h2>Letzte News & Ab&shy;stimmungen</h2>
<div class="news-widget-inner">
<div class="date">{{ article.date|date:"d.m.Y" }}</div>
<div class="title">{{ article.title }}</div>
<div class="body">{{ article.body | richtext | truncatechars:300 }} <a href="{% routablepageurl article.articles_page 'article_by_date' 2020 10 10 article.slug %}">weiterlesen</a></div>
<div class="body">{{ article.body | richtext | truncatechars:300 }} <a href="{% routablepageurl article.articles_page 'article_by_date' article.date.year article.date.month article.date.day article.slug %}">weiterlesen</a></div>
{% get_comment_count for article as comment_count %}
<div class="comments">
{% if comment_count == 0 %}
Expand Down

0 comments on commit e5e9873

Please sign in to comment.