From 8e5ed380ec85b7e40ea11d066249dc52f7421940 Mon Sep 17 00:00:00 2001 From: Sarah Conway Date: Thu, 18 Oct 2018 07:01:28 -0700 Subject: [PATCH] add link macros in header --- template/base.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/template/base.html b/template/base.html index 10cb479..3a4636a 100644 --- a/template/base.html +++ b/template/base.html @@ -1,3 +1,5 @@ +{%macro media(url)%}{{mediabase|default("/")}}static/{%if githash%}{{githash}}/{%endif%}{{url}}{%endmacro-%} +{%macro link(url)%}{{linkbase|default("/")}}{{url}}{%endmacro-%} -- 2.39.5