Archived
4
2

Add macro tag_to_id

This commit is contained in:
Roan Horning 2024-09-15 15:42:46 -04:00
parent 92dce90753
commit aaaaa29d8e
Signed by: rho_n
GPG Key ID: 234AEF20B72D5769

View File

@ -49,6 +49,15 @@
<!--% iso8601_date.format(date_to_format) %-->
<!--% END %-->
<!--% MACRO tag_to_id(tag, is_index) BLOCK %-->
<!--% tag = tag.replace('\s+','_') %-->
<!--% IF is_index %-->
<!--% tag.upper %-->
<!--% ELSE %-->
<!--% tag.lower %-->
<!--% END %-->
<!--% END %-->
<!--% MACRO absolute_url(base, path) BLOCK %-->
<!--% UNLESS base.empty %-->
<!--% UNLESS base.substr(-1) == '/' %-->