use simple styling
This commit is contained in:
parent
0f3fb34d85
commit
a94d23bc2c
6 changed files with 55 additions and 8 deletions
12
templates/base.html
Normal file
12
templates/base.html
Normal 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>
|
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue