Update blog theme

This commit is contained in:
Gregory Soutade
2020-03-20 16:48:52 +01:00
parent e029a1fc35
commit f99bea97ef
12 changed files with 700 additions and 838 deletions

View File

@@ -7,8 +7,21 @@
</head>
<body>
<a href="/user">Users</a> <a href="/blog">Blogs</a> <a href="/disconnect">Disconnect</a><br/><br/>
{% block content %} {% endblock %}
<a href="/user">Users</a> <a href="/blog">Blogs</a> <a href="/disconnect">Disconnect</a><br/><br/>
{% if blog_id != None %}
<a href="/blog/{{ blog_id }}?page=0">Home</a> <a href="/category/{{ blog_id }}">Categories</a> <a href="/tag/{{ blog_id }}">Tags</a>
{% else %}
<a href="/blog/{{ blog.id }}?page=0">Home</a> <a href="/category/{{ blog.id }}">Categories</a> <a href="/tag/{{ blog.id }}">Tags</a>
{% endif %}
{% if user.is_superuser %}
<form action="/blog/edit/{{ blog.id }}" method="post">
{% csrf_token %}
{{ form.as_p }}
<input type="submit" name="edit" value="Edit" /><input type="submit" name="delete" value="Delete" />
</form>
{% endif %}
<br/><br/>
{% block content %} {% endblock %}
<br/><br/><br/>
<center><a href="http://indefero.soutade.fr/p/dynastie">Dynastie</a> 0.5</center>
</body>