use simple styling

This commit is contained in:
Sebastian Hugentobler 2023-11-18 09:50:50 +01:00
parent 0f3fb34d85
commit a94d23bc2c
Signed by: shu
GPG key ID: BB32CF3CA052C2F0
6 changed files with 55 additions and 8 deletions

12
templates/base.html Normal file
View file

@ -0,0 +1,12 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="stylesheet" href="/styles.css" />
<title>Find Penguins Feeds</title>
</head>
<body>
{% block content %}{% endblock %}
</body>
</html>

View file

@ -1,7 +1,9 @@
{% extends "base.html" %} {% block content %}
<ul>
{% for f in feeds %}
<li>
<a href="{{ f.url }}">{{ f.title }}</a> - <a href="/feeds/{{f.id}}">Feed</a>
</li>
{% endfor %}
</ul>
{% for f in feeds %}
<li>
<a href="{{ f.url }}">{{ f.title }}</a><a href="/feeds/{{f.id}}">Feed</a>
</li>
{% endfor %}
</ul>
{% endblock content %}