Initial commit: Grav CMS setup with HTML reference material

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-18 23:38:26 +02:00
commit ec019928a0
2288 changed files with 419882 additions and 0 deletions
@@ -0,0 +1,31 @@
{% if result %}
<div class="alert warning"><strong>YAML Linting:</strong> Found <strong>{{ result|length }}</strong> linting errors</div>
<table>
{% for path, error in result %}
{% set page_url = base_url_simple ~ '/' ~ admin_route %}
{% set bits = path|pathinfo %}
{% if admin.multilang %}
{% set lang = (bits.filename|pathinfo).extension %}
{% set page_url = base_url_simple ~ '/' ~ lang ~ '/' ~ admin_route %}
{% endif %}
{% set page_path = base_path ~ bits.dirname %}
{% set page = grav.pages.get(page_path) %}
<tr>
<td><i class="fa fa-file-text-o"></i>
{% if page.url %}
<a href="{{ page_url ~ '/pages' ~ page.rawRoute }}/mode:expert">{{ page.route }}</a>
{% else %}
{{ path }}
{% endif %}
{% if lang %}
<span class="badge">{{ lang }}</span>
{% endif %}
</td>
<td class="double">{{ error }}</td>
</tr>
{% endfor %}
</table>
{% else %}
<div class="alert info"><strong>YAML Linting:</strong> No errors found.</div>
{% endif %}