feat: use collections and add frontmatter

This commit is contained in:
sthag 2024-08-11 15:15:07 +02:00
parent c18ed30b74
commit da86b19aba
19 changed files with 117 additions and 136 deletions

View file

@ -1,6 +1,10 @@
<!-- portal.page -->
---
title: Portal
tags:
- example
---
{% set pageBase = "../" %}
{% set pageId = "index" %}
{% set pageId = page.fileSlug %}
{% set bodyClass = "body_portal" %}
{% extends "demo/_default.njk" %}
@ -14,6 +18,7 @@
{% endblock %}
{% block body %}
<!-- {{ page.fileSlug }}.page -->
<div class="portal">
{{ gate.list(
'Tor mit Symbol und Liste',