diff options
Diffstat (limited to 'apioforum/templates/common.html')
-rw-r--r-- | apioforum/templates/common.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apioforum/templates/common.html b/apioforum/templates/common.html index 042f8bd..2e59b2c 100644 --- a/apioforum/templates/common.html +++ b/apioforum/templates/common.html @@ -27,6 +27,6 @@ <time title="{{dt.isoformat(' ')}}" datetime="{{dt.isoformat(' ')}}">{{dt | fuzzy}}</time> {%- endmacro %} -{% macro tag(name, fg, bg) -%} -<span class="tag" style="color: {{fg}}; background-color: {{bg}}">{{name}}</span> +{% macro tag(the_tag) -%} +<span class="tag" style="color: {{the_tag.text_colour}}; background-color: {{the_tag.bg_colour}}">{{the_tag.name}}</span> {%- endmacro %} |