news-reader-php/templates/base.html.twig
Daniel Siepmann 8efad3e1fd
Add import of feed entries
Basic import of entries from feeds.
Also make imported feeds accessible in frontend.
2020-05-29 00:44:32 +02:00

33 lines
980 B
Twig

<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title>{% block title %}{{ app_name }}{% endblock %}</title>
{% block stylesheets %}
<link href="{{ asset('css/style.css') }}" rel="stylesheet">
{% endblock %}
</head>
<body id="layout-{% block layout %}default{% endblock %}">
<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>