mirror of
https://github.com/perstarkse/minne.git
synced 2026-04-24 01:38:29 +02:00
refactor: extendable templates
refactor: simplification refactor: simplification
This commit is contained in:
17
html-router/templates/content/_layout.html
Normal file
17
html-router/templates/content/_layout.html
Normal file
@@ -0,0 +1,17 @@
|
||||
{% extends 'body_base.html' %}
|
||||
|
||||
{% block title %}Minne - Content{% endblock %}
|
||||
|
||||
{% block main %}
|
||||
<main id="main_section" class="flex justify-center grow mt-2 sm:mt-4 gap-6 mb-10 w-full">
|
||||
<div class="container">
|
||||
<div class="nb-panel p-3 mb-4 flex items-center justify-between">
|
||||
{% block content_header %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
|
||||
{% block content_list %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
</main>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user