feat: Add app frame template

- All frame pages use app frame template
- Add form page to frames and add header
This commit is contained in:
sthag 2025-06-23 22:08:31 +02:00
parent 0c37acf47f
commit e572f64259
6 changed files with 29 additions and 70 deletions

View file

@ -4,23 +4,8 @@ tags:
- ui
---
{% set pageId = page.fileSlug %}
{% set bodyClass = "body_frame" %}
{% extends "hippie/_app.njk" %}
{% import "hippie/macros/_io.njk" as io %}
{% block title %}{{ title }}
{% endblock %}
{% block links %}
{{ super() }}
<link href="/vendor/bootstrap-icons/font/bootstrap-icons.min.css" rel="stylesheet">
<link href="{{ pageBase }}css/ui.css" media="all" rel="stylesheet"/>
{% endblock %}
{% block head %}
{{ super() }}
{% endblock %}
{% extends "hippie/_app_frame.njk" %}
{% block body %}
{{ io.frameHeader('title-bar') }}
@ -177,8 +162,4 @@ tags:
<button>action</button>
</nav>
</footer>
{% endblock %}
{% block script %}
{{ super() }}
{% endblock %}