salvi/templates/home.jinja2

25 lines
566 B
Text
Raw Normal View History

2023-03-16 14:24:29 +01:00
{% extends "base.jinja2" %}
{% block title %}{{ T('homepage') }} - {{ app_name }}{% endblock %}
{% block content %}
2023-04-06 23:02:07 +02:00
<article class="homepage">
<h1 id="firstHeading">{{ T('welcome').format(app_name) }}</h1>
2023-04-06 23:02:07 +02:00
<div class="nl-new">
<a href="/create/">
<button class="submit-primary"><span class="material-icons">create</span> {{ T('new-note') }}</button>
</a>
2023-04-06 23:02:07 +02:00
</div>
2021-07-27 21:41:41 +02:00
2023-04-06 23:02:07 +02:00
<h2>{{ T('latest-notes') }}</h2>
2023-04-06 23:02:07 +02:00
<br style="clear:both">
{% from "macros/nl.jinja2" import nl_list with context %}
{{ nl_list(new_notes) }}
2023-05-17 20:52:33 +02:00
2023-04-06 23:02:07 +02:00
</article>
{% endblock %}