mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-09-08 20:58:29 +00:00
25 lines
757 B
Text
25 lines
757 B
Text
{% extends "base" %}
|
|
{% import "macros" as macros %}
|
|
|
|
{% block title %}
|
|
{{ "Dashboard" | _ }}
|
|
{% endblock title %}
|
|
|
|
{% block content %}
|
|
<h1>{{ "Your Dashboard" | _ }}</h1>
|
|
|
|
<section>
|
|
<h2>{{ "Your Blogs" | _ }}</h2>
|
|
{% if blogs | length < 1 %}
|
|
<p>{{ "You don't have any blog yet. Create your own, or ask to join one." | _ }}</p>
|
|
{% endif %}
|
|
<a class="button inline-block" href="/blogs/new">{{ "Start a new blog" | _ }}</a>
|
|
<div class="list">
|
|
{% for blog in blogs %}
|
|
<div class="card">
|
|
<h3><a href="/~/{{ blog.actor_id }}/">{{ blog.title }}</a></h3>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
</section>
|
|
{% endblock content %}
|