Commit e8095f0c authored by Dipesh Bathaja's avatar Dipesh Bathaja


parent 132610da
{% from 'macros/helpers.html' import sprite %}
<!doctype html>
<html class="{{ html_class }}">
{% macro sprite(id, viewBox, classes) %}
{% set viewBox = viewBox or "0 0 1 1"%}
<span class='sprite -{{id}} {{classes}}'>
<svg viewBox="{{viewBox}}"><use xlink:href='images/icons.svg#{{id}}' /></use></svg>
{% endmacro %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment