feat: Add current state from hippie main repo
- commit 86f3c679 - source/view/_includes/hippie
This commit is contained in:
parent
1fe8f9d243
commit
980b611a31
32 changed files with 619 additions and 0 deletions
39
default.liquid
Normal file
39
default.liquid
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
<!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 -%}
|
||||
{% block style -%}{% endblock -%}
|
||||
{% endblock -%}
|
||||
</head>
|
||||
|
||||
<body{{ bodyClassAttr }}>
|
||||
{%- block body %}{% endblock -%}
|
||||
{%- block assets %}{% endblock -%}
|
||||
<script>
|
||||
// {{ title }} script using default template
|
||||
</script>
|
||||
{%- block script %}{% endblock -%}
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue