kita/templates/index.html
Damien LaRocque a6cf030459
feat: add inject support
Co-authored-by: st1020 <me@st1020.com>
2024-10-05 23:12:49 +08:00

30 lines
974 B
HTML

{% import "macros.html" as macros %}
<!doctype html>
<html class="not-ready lg:text-base" lang="{{ lang }}">
{% include "partials/head.html" %}
<body class="text-black duration-200 ease-out dark:text-white">
{% include "partials/header.html" %}
<!-- Body Start inject -->
{% include "injects/body_start.html" ignore missing %}
<main
class="prose prose-neutral relative mx-auto min-h-[calc(100%-9rem)] max-w-3xl break-words px-4 pb-16 pt-32 dark:prose-invert prose-pre:rounded-lg prose-img:rounded-lg"
>
{% block main %}
<!-- Profile -->
{% if paginator is undefined or paginator.current_index == 1 %}<!---->
{% include "partials/profile.html" %}<!---->
{% endif %}<!---->
{% include "partials/page_list.html" %}<!---->
{% endblock main %}
</main>
{% include "partials/footer.html" %}
<!-- Body End inject -->
{% include "injects/body_end.html" ignore missing %}
</body>
</html>