Skip to content
This repository has been archived by the owner on Jan 26, 2021. It is now read-only.

Commit

Permalink
add urls to sigle news and news author in news list template
Browse files Browse the repository at this point in the history
  • Loading branch information
ana-balica committed Jan 21, 2015
1 parent 4f01b05 commit eef62e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions systers_portal/templates/blog/news_list.html
Expand Up @@ -8,10 +8,10 @@
<div class="blog-container">
{% for news in object_list %}
<div class="blog-entry">
<h3 class="title"><a href="#">{{ news.title }}</a></h3>
<h3 class="title"><a href="{{ news.get_absolute_url }}">{{ news.title }}</a></h3>

<p class="meta">{{ news.date_modified }} | <a
href="#">{{ news.author }}</a></p>
href="{{ news.author.get_absolute_url }}">{{ news.author }}</a></p>

<div class="body">{{ news.content|safe|truncatewords:50 }}</div>
{% if news.tags %}
Expand Down

0 comments on commit eef62e2

Please sign in to comment.