- 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
36 lines
No EOL
844 B
Text
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> |