diff --git a/content/news/2023-11-16_bmmt-2024-date-set.md b/content/news/2023-11-16_bmmt-2024-date-set.md index 88247c8..94fc3a2 100644 --- a/content/news/2023-11-16_bmmt-2024-date-set.md +++ b/content/news/2023-11-16_bmmt-2024-date-set.md @@ -1,5 +1,5 @@ +++ -title = "BmMT 2024 will be on April 6, 2024 • BMT 2024 will be on November 2, 2024" +title = "BmMT 2024 will be held on April 6, 2024\nBMT 2024 will be held on November 2, 2024" +++ We are excited to announce that this year’s Berkeley mini Math Tournament (BmMT) diff --git a/templates/index.html b/templates/index.html index 90a592d..af421d9 100644 --- a/templates/index.html +++ b/templates/index.html @@ -10,7 +10,9 @@ News
-{{ title }}
++ {{ title | split(pat="\n") | join(sep=" • ") }} +
diff --git a/templates/macros.html b/templates/macros.html index 11dafff..88acb0c 100644 --- a/templates/macros.html +++ b/templates/macros.html @@ -24,3 +24,10 @@ {% macro index_math() %} {% endmacro index_math%} + +{% macro newline_break(str) %} +{% for line in str | split(pat="\n") %} +{{ line }} +{% if not loop.last %}- {{ page.title }} + + {{ macros::newline_break(str=page.title) }} +
{% endfor %}