diff --git a/lokrez/templates/meltdownlyon2020/template.svg.j2 b/lokrez/templates/meltdownlyon2020/template.svg.j2 index d8910f8..3227fb1 100644 --- a/lokrez/templates/meltdownlyon2020/template.svg.j2 +++ b/lokrez/templates/meltdownlyon2020/template.svg.j2 @@ -9,8 +9,8 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - width="1360" - height="1700" + width="{{ "100%" if "web" in options else "1360" }}" + height="{{ "100%" if "web" in options else "1700" }}" viewBox="0 0 359.83334 449.79166" version="1.1" id="svg8" diff --git a/lokrez/templates/rebootlyon2019/template.svg.j2 b/lokrez/templates/rebootlyon2019/template.svg.j2 index ab4488b..b2ac291 100644 --- a/lokrez/templates/rebootlyon2019/template.svg.j2 +++ b/lokrez/templates/rebootlyon2019/template.svg.j2 @@ -14,8 +14,9 @@ id="svg8" version="1.1" viewBox="0 0 359.83334 449.79166" - height="449.79166mm" - width="359.83334mm"> + width="{{ "100%" if "web" in options else "359.83334mm" }}" + height="{{ "100%" if "web" in options else "449.79166mm" }}" + > + width="{{ "100%" if "web" in options else "359.83334mm" }}" + height="{{ "100%" if "web" in options else "449.79166mm" }}" + >