mirror of
https://codeberg.org/danielsiepmann/news-reader-php.git
synced 2024-11-22 12:16:09 +01:00
33 lines
909 B
Twig
33 lines
909 B
Twig
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>{% block title %}Welcome!{% endblock %}</title>
|
|
{% block stylesheets %}
|
|
<link href="{{ asset('css/style.css') }}" rel="stylesheet">
|
|
{% endblock %}
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<h1><a href="{{ path('start') }}">{{ app_name }}</a></h1>
|
|
</header>
|
|
|
|
<main>
|
|
<nav>
|
|
{% for bucket in buckets.findAll %}
|
|
<a href="{{ path('bucket', {slug: bucket.slug}) }}">{{ bucket.name }}</a>
|
|
{% endfor %}
|
|
</nav>
|
|
|
|
<section>
|
|
{% block body %}{% endblock %}
|
|
</section>
|
|
</main>
|
|
|
|
<footer>
|
|
© by <a href="https://daniel-siepmann.de">Daniel Siepmann</a> since 2020
|
|
</footer>
|
|
|
|
{% block javascripts %}{% endblock %}
|
|
</body>
|
|
</html>
|