2022-06-07 09:26:22 +00:00
|
|
|
{%- macro plural(value, suffix='s') -%}
|
2022-06-22 07:37:09 +00:00
|
|
|
{%- if value != 1 -%}
|
2022-06-07 09:26:22 +00:00
|
|
|
{{ suffix }}
|
|
|
|
{%- endif -%}
|
|
|
|
{%- endmacro -%}
|
2022-08-07 06:56:13 +00:00
|
|
|
|
|
|
|
{%- macro submission_category_tag(name, color_text, color_bg) -%}
|
|
|
|
<span class="post--category-tag" style="color:#{{color_text}}; background-color:#{{color_bg}};">{{name | safe}}</span>
|
|
|
|
{%- endmacro -%}
|