2018-06-10 17:55:08 +00:00
|
|
|
{% extends "base" %}
|
|
|
|
{% import "macros" as macros %}
|
|
|
|
|
|
|
|
{% block title %}
|
2018-06-17 15:26:15 +00:00
|
|
|
{{ "Dashboard" | _ }}
|
2018-06-10 17:55:08 +00:00
|
|
|
{% endblock title %}
|
|
|
|
|
|
|
|
{% block content %}
|
2018-06-17 15:26:15 +00:00
|
|
|
<h1>{{ "Your Dashboard" | _ }}</h1>
|
2018-06-10 17:55:08 +00:00
|
|
|
|
|
|
|
<section>
|
2018-06-17 15:26:15 +00:00
|
|
|
<h2>{{ "Your Blogs" | _ }}</h2>
|
2018-06-10 17:55:08 +00:00
|
|
|
{% if blogs | length < 1 %}
|
2018-06-17 15:26:15 +00:00
|
|
|
<p>{{ "You don't have any blog yet. Create your own, or ask to join one." | _ }}</p>
|
2018-06-10 17:55:08 +00:00
|
|
|
{% endif %}
|
2018-08-18 10:49:06 +00:00
|
|
|
<div class="cards">
|
2018-06-10 17:55:08 +00:00
|
|
|
{% for blog in blogs %}
|
|
|
|
<div class="card">
|
|
|
|
<h3><a href="/~/{{ blog.actor_id }}/">{{ blog.title }}</a></h3>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
2018-08-18 10:49:06 +00:00
|
|
|
<a class="button" href="/blogs/new">{{ "Start a new blog" | _ }}</a>
|
2018-06-10 17:55:08 +00:00
|
|
|
</section>
|
|
|
|
{% endblock content %}
|