hippie/source/screens/demo/examples/portal.njk

40 lines
808 B
Text
Raw Normal View History

---
title: Portal
tags:
2024-08-11 15:34:55 +02:00
- demoExample
---
{% set pageId = page.fileSlug %}
2021-03-14 21:47:11 +01:00
{% set bodyClass = "body_portal" %}
{% extends "demo/_default.njk" %}
2025-04-12 15:49:46 +02:00
{% import "hippie/macros/_gate.njk" as gate %}
2021-03-14 21:47:11 +01:00
2024-08-14 17:57:41 +02:00
{% block title %}{{ title }}{% endblock %}
2021-03-14 21:47:11 +01:00
{% block head %}
{{ super() }}
{% endblock %}
{% block body %}
<!-- {{ page.fileSlug }}.page -->
2021-03-14 21:47:11 +01:00
<div class="portal">
{{ gate.list(
'Tor mit Symbol und Liste',
'../demo', {
src: '/art/demo/flag_websafe_128x80.gif',
alt: 'Flag of Interaktionsweise'
}, [
{
name: '1',
href: 'http://domain.tld',
img: '../art/bullet.gif'
}, {
name: 'Zwei',
href: 'http://domain.tld',
img: '../art/bullet.gif'
}
]
) }}
{{ gate.simple('Tor', '../demo') }}
</div>
{% endblock %}