Skip to content

Commit

Permalink
Articles by Person: Adds on/off toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickbrown-io committed Oct 28, 2024
1 parent 2634998 commit aa9b5e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/content/node--ucb-person.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
</div>
{% endif %}
</div>
{% if content.field_ucb_articles_by_person[0]['#markup'] == '1' %}
<div class="ucb-articles-by-person-block">
<person-article-list base-uri="{{ baseurlJSON }}" nodeid="{{ node.id }}">
<div id="ucb-person-article-block-title" style="display:none">
Expand All @@ -104,5 +105,6 @@
</div>
</person-article-list>
</div>
{% endif %}
</div>
</article>

0 comments on commit aa9b5e6

Please sign in to comment.