Commit e8095f0c authored by Dipesh Bathaja's avatar Dipesh Bathaja

Update

parent 132610da
Pipeline #1136 skipped
{% 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>
</span>
{% 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