Skip to content

Commit

Permalink
Merge pull request #33 from painless-security/topic/18-blog-roles
Browse files Browse the repository at this point in the history
Do not fall back to author-associated role for blog posts (fixes #18)
  • Loading branch information
rjsparks authored Feb 21, 2020
2 parents a1f7609 + 8d8b5cf commit dccfa09
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions ietf/blog/templates/blog/blog_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ <h3>{{ sibling.title }}</h3>
<li class="title">{{ a.author.name }}</li>
{% if a.role %}
<li>{{ a.role.name }}</li>
{% else %}
<li>{{ a.author.role }}</li>
{% endif %}
</ul>
{% endfor %}
Expand Down Expand Up @@ -131,8 +129,6 @@ <h1>{{ self.title }}</h1>
<li class="title">{{ a.author.name }}</li>
{% if a.role %}
<li>{{ a.role.name }}</li>
{% else %}
<li>{{ a.author.role.name }}</li>
{% endif %}
</ul>
{% endfor %}
Expand Down Expand Up @@ -165,8 +161,6 @@ <h3>{{ sibling.title }}</h3>
<li class="title">{{ a.author.name }}</li>
{% if a.role %}
<li>{{ a.role.name }}</li>
{% else %}
<li>{{ a.author.role }}</li>
{% endif %}
</ul>
{% endfor %}
Expand Down

0 comments on commit dccfa09

Please sign in to comment.