mirror of
https://github.com/mgrove36/bbc-young-reporter.git
synced 2026-03-03 03:17:07 +00:00
Fix same bug as previous commit
Previous attempt didn't work
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
{% if article_date == current_article_date %}
|
||||
{% assign current_authors = page.authors | split: ", " %}
|
||||
{% for current_author in current_authors %}
|
||||
{% assign break = false %}
|
||||
{% if author == current_author %}
|
||||
{% if article_list_displayed == false %}
|
||||
<h2 class="mdc-typography--headline5">
|
||||
@@ -44,8 +45,8 @@
|
||||
}
|
||||
</style>
|
||||
</div>
|
||||
{% break %}
|
||||
{% assign break = true %}
|
||||
{% break %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user