diff --git a/lokrez/templates/confismash/template.svg.j2 b/lokrez/templates/confismash/template.svg.j2 index 914fcd0..795f58e 100644 --- a/lokrez/templates/confismash/template.svg.j2 +++ b/lokrez/templates/confismash/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="508mm" - height="285.75mm" + width="{{ "100%" if "web" in options else "508mm" }}" + height="{{ "100%" if "web" in options else "285.75mm" }}" viewBox="0 0 508.00001 285.75" version="1.1" id="svg8" diff --git a/lokrez/templates/rebootlyon2020/template.svg.j2 b/lokrez/templates/rebootlyon2020/template.svg.j2 index 079e272..b760c69 100644 --- a/lokrez/templates/rebootlyon2020/template.svg.j2 +++ b/lokrez/templates/rebootlyon2020/template.svg.j2 @@ -18,8 +18,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.83334" }}" + height="{{ "100%" if "web" in options else "449.79166mm" }}" + >