Add actual templates for everything
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
{% extends "base" %}
|
||||
|
||||
{% block title %}
|
||||
{{ blog.title }}
|
||||
{% endblock title %}
|
||||
|
||||
{% block content %}
|
||||
<h1>{{ blog.title }} (~{{ blog.actor_id }})</h1>
|
||||
<p>{{ blog.summary }}</p>
|
||||
{% endblock content %}
|
||||
@@ -0,0 +1,6 @@
|
||||
{% extends "errors/base" %}
|
||||
|
||||
{% block error %}
|
||||
<h1>Something broke on our side.</h1>
|
||||
<h2>Sorry about that. If you think this is a bug, please report it.</h2>
|
||||
{% endblock error %}
|
||||
@@ -0,0 +1,15 @@
|
||||
{% extends "base" %}
|
||||
|
||||
{% block title %}
|
||||
{{ error_message }}
|
||||
{% endblock title %}
|
||||
|
||||
{% block content %}
|
||||
<main class="error">
|
||||
{% block error %}
|
||||
{% endblock error %}
|
||||
<p>
|
||||
{{ error_message }}
|
||||
</p>
|
||||
</main>
|
||||
{% endblock content %}
|
||||
@@ -0,0 +1,9 @@
|
||||
{% extends "base" %}
|
||||
|
||||
{% block title %}
|
||||
{{ instance.name }}
|
||||
{% endblock title %}
|
||||
|
||||
{% block content %}
|
||||
<h1>Welcome on {{ instance.name }}</h1>
|
||||
{% endblock content %}
|
||||
@@ -0,0 +1,15 @@
|
||||
{% extends "base" %}
|
||||
|
||||
{% block title %}
|
||||
{{ post.title }}
|
||||
{% endblock title %}
|
||||
|
||||
{% block content %}
|
||||
<h1>{{ post.title }}</h1>
|
||||
<p>Published in {{ blog.title }}</p>
|
||||
<hr>
|
||||
<p>
|
||||
{{ post.content | safe }}
|
||||
</p>
|
||||
<p>License: {{ post.license }}</p>
|
||||
{% endblock content %}
|
||||
Reference in New Issue
Block a user