feat: Set pageClass in app template

This commit is contained in:
sthag 2025-06-23 19:30:29 +02:00
parent 10d6fe7d82
commit e76f457851
8 changed files with 2 additions and 11 deletions

View file

@ -5,7 +5,6 @@ tags:
---
{% set pageId = "init" %}
{% set pageClass = "html_ui" %}
{% extends "hippie/_app.njk" %}
{% import "hippie/macros/_placeholder.njk" as ph %}

View file

@ -4,7 +4,6 @@ tags:
- ui
---
{% set pageId = page.fileSlug %}
{% set pageClass = "h_full_view" %}
{% set bodyClass = "body_ui" %}
{% extends "hippie/_app.njk" %}

View file

@ -4,7 +4,6 @@ tags:
- ui
---
{% set pageId = page.fileSlug %}
{% set pageClass = "h_full_view" %}
{% set bodyClass = "body_frame" %}
{% extends "hippie/_app.njk" %}
@ -180,6 +179,6 @@ tags:
</footer>
{% endblock %}
{%- block script %}
{% block script %}
{{ super() }}
{% endblock %}

View file

@ -3,7 +3,6 @@ title: Form
tags:
- ui
---
{% set pageClass = "html_ui" %}
{% set bodyClass = "body_ui" %}
{% extends "hippie/_app.njk" %}

View file

@ -4,9 +4,6 @@ tags:
- demoExample
- index
---
{% set pageClass = "html_ui" %}
{% extends "hippie/_app.njk" %}
{% import "hippie/macros/_placeholder.njk" as ph %}

View file

@ -4,7 +4,6 @@ tags:
- ui
---
{% set pageId = page.fileSlug %}
{% set pageClass = "h_full_view" %}
{% set bodyClass = "body_new" %}
{% extends "hippie/_app.njk" %}

View file

@ -4,7 +4,6 @@ tags:
- ui
---
{% set pageId = page.fileSlug %}
{% set pageClass = "h_full_view" %}
{% set bodyClass = "body_frame" %}
{% extends "hippie/_app.njk" %}

View file

@ -1,6 +1,6 @@
<!-- app.template -->
<!DOCTYPE html>
<html lang="de" class="{{ pageClass }}" id="{{ pageId }}">
<html lang="de" class="html_ui" id="{{ pageId }}">
<head>
<meta charset="utf-8">