Move all files to taking-flight-with-tailwind-css/demo/phpnw/

This commit is contained in:
Oliver Davies 2025-10-02 23:45:34 +01:00
parent d754089b17
commit d8ae557445
17 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="{{ site.locale|default('en') }}">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ site.name|default('Sculpin Skeleton') }}</title>
</head>
<body>
{% block body %}{% endblock %}
</body>
</html>

View file

@ -0,0 +1,12 @@
{% extends 'app' %}
{% block body %}
{% include 'navbar' with {
links: site.main_menu,
} only %}
<h1>{{ page.title }}</h1>
{% block content %}{% endblock %}
{% block content_bottom %}{% endblock %}
{% endblock %}

View file

@ -0,0 +1,22 @@
{% extends 'default' %}
{% block content_bottom %}
{% set events = page.events %}
{% if not events is empty %}
<h2>Events</h2>
<ul>
{% for event in events|sort((a, b) => a.date < b.date) %}
<li>
{% if event.url %}
<a href="{{ event.url }}">{{ event.name }}</a>
{% else %}
{{ event.name }}
{% endif %}
- {{ event.date|date('jS F Y') }}
</li>
{% endfor %}
</ul>
{% endif %}
{% endblock %}