Skip to content

Commit

Permalink
Update supertitle for article cards to display 'Blog post' for blog a…
Browse files Browse the repository at this point in the history
…rticles
  • Loading branch information
ahosgood committed Feb 18, 2025
1 parent b2d6eb0 commit 2adfdd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/templates/people/person.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ <h2 class="tna-heading-l tna-!--no-margin-top">Articles by {{ page_data.first_na
{%- for article in articles %}
<li class="tna-column tna-column--width-1-3 tna-column--width-1-2-medium tna-column--small-tiny tna-column--full-tiny tna-!--margin-top-l">
{% set card_content = {
'supertitle': article.type_label,
'supertitle': 'Blog post' if article.type == 'blog.BlogPostPage' else article.type_label,
'title': article.title,
'headingLevel': 3,
'headingSize': 's',
Expand Down Expand Up @@ -189,7 +189,7 @@ <h2 id="articles" class="tna-heading-l tna-!--padding-top-s tna-!--padding-botto
{%- for article in articles %}
<li class="tna-column tna-column--width-1-2 tna-column--full-tiny tna-!--margin-bottom-l">
{% set card_content = {
'supertitle': article.type_label,
'supertitle': 'Blog post' if article.type == 'blog.BlogPostPage' else article.type_label,
'title': article.title,
'headingLevel': 3,
'headingSize': 's',
Expand Down

0 comments on commit 2adfdd7

Please sign in to comment.