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 a9be15caf3
2261 changed files with 418989 additions and 0 deletions
@@ -0,0 +1,25 @@
{%- set request = grav.request -%}
{%- set object_context = object ?? {} -%}
{%- set object_layout = object_context.layout ?? ('list-' ~ layout) -%}
{% if blacklist %}
{% set collection = collection.unselect(blacklist) %}
{% endif %}
<div id="flex-objects">
{% if title %}
<h2>{{ title|e }}</h2>
{% endif %}
{% if content %}
<div>{{ content|markdown }}</div>
{% endif %}
<ul class="list">
{% for object in collection.filterBy({ enabled: true }) %}
{% set link = request.uri ~ '/id:' ~ object.key %}
<li>
{% render object layout: object_layout with object_context|merge({link: link}) %}
</li>
{% endfor %}
</ul>
</div>
@@ -0,0 +1,14 @@
<h4>
{% if object.icon %}<i class="fa fa-{{ object.icon|e }}"></i>{% endif %}
{{ object.readableName|e }}
</h4>
{% if object.description %}
<div>
{{ object.description|e }}
</div>
{% endif %}
{% if link %}
<div>
<a href="{{ link }}">See Details</a>
</div>
{% endif %}
@@ -0,0 +1,16 @@
<div class="entry-details">
<h4>
{% if object.icon %}<i class="fa fa-{{ object.icon|e }}"></i>{% endif %}
{{ object.readableName|e }}
</h4>
{% if object.description %}
<div>
{{ object.description|e }}
</div>
{% endif %}
{% if link %}
<div>
<a href="{{ link }}">See Details</a>
</div>
{% endif %}
</div>