feat: Replace layouts template

- Change nunjucks to liquid for layouts screen
- Add shortcodes for placeholders to eleventy
This commit is contained in:
sthag 2026-02-21 12:16:34 +01:00
parent b10379782f
commit d64bf61a9c
4 changed files with 335 additions and 318 deletions

View file

@ -1,4 +1,5 @@
{% assign height = width | divided_by: 1.6 %}
{% if type == 'svg' or type == '' %}
<svg version="1.1" id="{{ id }}" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="100%" height="100%" viewbox="0 0 1920 1200" preserveaspectratio="xMinYMax slice">
{% comment %}<defs>