hippie/source/templates/hippie/default.liquid
sthag 2baad1d314 feat: Replace nunjucks with liquid for basics screen
- Add liquid template page
- Basics screen now uses liquid
- Correct script block in templates
- Add parameters to meta and log partials
- Add liquid partials for page and placeholder content
2026-02-15 10:28:57 +01:00

36 lines
No EOL
844 B
Text

<!DOCTYPE html>
{% if pageId %}
{%- capture idAttr %} id="{{ pageId }}"{% endcapture -%}
{% endif -%}
{% if pageClass %}
{%- capture classAttr %} class="{{ pageClass }}"{% endcapture -%}
{% endif -%}
{% if bodyClass %}
{%- capture bodyClassAttr %} class="{{ bodyClass }}"{% endcapture -%}
{% endif -%}
<html{{ idAttr }}{{ classAttr }} lang="de">
<head>
<meta charset="utf-8">
{% block head %}
<title>
{{- hippie.titlePrefix -}}
{% block title %}{% endblock -%}
{{ hippie.titlePostfix -}}
</title>
{% block meta -%}
{% render "hippie/partials/meta.liquid" %}
{% endblock -%}
{% block links -%}
{% render "hippie/partials/links.liquid" %}
{% endblock -%}
{% endblock -%}
</head>
<body{{ bodyClassAttr }}>
{%- block body %}{% endblock -%}
<script>
// Default script
</script>
{%- block script %}{% endblock -%}
</body>
</html>