[UI][COMPONENT][Tag] Use base template and properly display notes in tag stream

This commit is contained in:
Hugo Sales 2021-11-26 11:59:11 +00:00
parent c178054433
commit 6919f38592
Signed by: someonewithpc
GPG Key ID: 7D0C7EAFC9D835A0
2 changed files with 12 additions and 7 deletions

View File

@ -1,7 +1,12 @@
{% for note in notes %}
<div>
{{ note.getRendered() | raw }}
</div>
{% endfor %}
{% extends 'base.html.twig' %}
{% import '/cards/note/view.html.twig' as noteView %}
{{ "Page: " ~ page }}
{% block body %}
{% for note in notes %}
{% block current_note %}
{{ noteView.macro_note(note) }}
{% endblock current_note %}
{% endfor %}
{{ "Page: " ~ page }}
{% endblock %}