updated core to 1.7.15

This commit is contained in:
2021-05-27 18:17:50 +02:00
parent dc1fdf21c9
commit 19ecb285ab
552 changed files with 80743 additions and 16675 deletions

View File

@@ -0,0 +1,4 @@
{# Default output if no theme #}
<h3 style="color:red">ERROR: <code>{{ page.template() ~'.'~ page.templateFormat() ~".twig" }}</code> template not found for page: <code>{{ page.route() }}</code></h3>
<h1>{{ page.title() }}</h1>
{{ page.content()|raw }}

View File

@@ -0,0 +1 @@
{# Default external template #}

View File

@@ -0,0 +1,4 @@
{% set item = collection ?? object %}
{% set type = collection ? 'collection' : 'object' %}
ERROR: Layout '{{ layout }}' for flex {{ type }} '{{ item.flexType() }}' was not found.

View File

@@ -0,0 +1,5 @@
<h1>{{ directory.getTitle() }} <small>debug dump</small></h1>
{% for object in collection %}
{% render object layout: layout %}
{% endfor %}

View File

@@ -0,0 +1,4 @@
<section>
<h2>{{ object.key }}</h2>
<pre>{{ object.jsonSerialize()|yaml_encode }}</pre>
</section>

View File

@@ -0,0 +1,4 @@
{# Default output if no theme #}
<h3 style="color:red">ERROR: <code>{{ page.template() ~'.'~ page.templateFormat() ~".twig" }}</code> template not found for page: <code>{{ page.route() }}</code></h3>
<h1>{{ page.title() }}</h1>
{{ page.content()|raw }}

View File

@@ -1,3 +1,3 @@
{% for meta in page.metadata %}
<meta {% if meta.name %}name="{{ meta.name }}" {% endif %}{% if meta.http_equiv %}http-equiv="{{ meta.http_equiv }}" {% endif %}{% if meta.charset %}charset="{{ meta.charset }}" {% endif %}{% if meta.property %}property="{{ meta.property }}" {% endif %}{% if meta.content %}content="{{ meta.content }}" {% endif %}/>
<meta {% if meta.name %}name="{{ meta.name|e }}" {% endif %}{% if meta.http_equiv %}http-equiv="{{ meta.http_equiv|e }}" {% endif %}{% if meta.charset %}charset="{{ meta.charset|e }}" {% endif %}{% if meta.property %}property="{{ meta.property|e }}" {% endif %}{% if meta.content %}content="{{ meta.content|raw }}" {% endif %}/>
{% endfor %}