- 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
47 lines
No EOL
1.8 KiB
Text
47 lines
No EOL
1.8 KiB
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 %}{{ title }}{% endblock -%}
|
|
{{ hippie.titlePostfix -}}
|
|
</title>
|
|
{% block meta -%}
|
|
{% render "hippie/partials/meta.liquid", author: "Interaktionsweise", desc: "Hippie interweaves preeminent personal interface elements" %}
|
|
{% comment %}<base href="/">{% endcomment %}
|
|
{% endblock -%}
|
|
{% render "hippie/partials/script-log.liquid" %}
|
|
{% render "hippie/partials/log-setup", hippie: hippie, state: true -%}
|
|
{% render "hippie/partials/log-start" -%}
|
|
{% block links -%}
|
|
{% render "hippie/partials/links.liquid" %}
|
|
{% comment %}<link rel="stylesheet" type="text/css" media="all" href="css/demo.css"/>{% endcomment %}
|
|
{% comment %}<link rel="stylesheet" type="text/css" media="all" href="{{ pageBase | subdir(2) }}css/demo.css"/>{% endcomment %}
|
|
<link rel="stylesheet" media="all" href="{{ pageBase }}css/demo.css" type="text/css"/>
|
|
{% endblock -%}
|
|
{% render "hippie/partials/log-log" with "HEAD end :: Links parsed, starting to load." as msg -%}
|
|
{% endblock -%}
|
|
</head>
|
|
|
|
<body{{ bodyClassAttr }}>
|
|
{% render 'hippie/partials/log-log' with 'BODY start' as msg -%}
|
|
{%- block body %}{% endblock -%}
|
|
{% render 'hippie/partials/log-log' with 'BODY :: Loading script assets...' as msg -%}
|
|
<script>
|
|
// Full script
|
|
</script>
|
|
{%- block script %}{% endblock -%}
|
|
{% render 'hippie/partials/log-log' with 'BODY end :: Page script might still be loading.' as msg -%}
|
|
</body>
|
|
</html> |