From f6955ce4b0a6ff1258b7d0fbed218fa3a3dd3186 Mon Sep 17 00:00:00 2001 From: Holger Frey Date: Mon, 6 Apr 2020 20:10:42 +0200 Subject: [PATCH] added jinja macros for icons --- ordr3/templates/macros.jinja2 | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 ordr3/templates/macros.jinja2 diff --git a/ordr3/templates/macros.jinja2 b/ordr3/templates/macros.jinja2 new file mode 100644 index 0000000..2cf5f5c --- /dev/null +++ b/ordr3/templates/macros.jinja2 @@ -0,0 +1,3 @@ +{% macro icon(name) -%} + {% include 'ordr3:templates/icons/%s.svg' % name %} +{%- endmacro %}