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,31 +4,14 @@ tags:
- ui
---
{% set pageId = page.fileSlug %}
{% set bodyClass = "body_frame" %}
{% extends "hippie/_app.njk" %}
{% import "hippie/macros/_io.njk" as io %}
{% extends "hippie/_app_frame.njk" %}
{% 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 %}
{% block body %}
{{ io.frameHeader('title-bar') }}
<main class="io">
</main>
<main class="io"></main>
{{ io.frameFooter('mode-bar') }}
{% endblock %}
{%- block script %}
{{ super() }}
{% endblock %}