forked from HPR/hpr_generator
		
	Add macro tag_to_id
This commit is contained in:
		| @@ -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) == '/' %--> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user