feat: add variables to templates

This commit is contained in:
sthag 2024-08-14 17:57:41 +02:00
parent eae17727f9
commit 7ae8799d4f
3 changed files with 3 additions and 6 deletions

View file

@ -3,15 +3,13 @@ title: Portal
tags:
- demoExample
---
{% set pageBase = "../" %}
{% set pageId = page.fileSlug %}
{% set bodyClass = "body_portal" %}
{% extends "demo/_default.njk" %}
{% import "demo/macros/_gates.njk" as gate %}
{% block title %}Portal{% endblock %}
{% block title %}{{ title }}{% endblock %}
{% block head %}
{{ super() }}