From 028f23e96dd4c6a86465cb616be84480ac3a7a1e Mon Sep 17 00:00:00 2001 From: Ahmed M Alaa Date: Sat, 3 Dec 2022 21:01:01 +0200 Subject: init: just ported the theme --- templates/section.html | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 templates/section.html (limited to 'templates/section.html') diff --git a/templates/section.html b/templates/section.html new file mode 100644 index 0000000..cd509fa --- /dev/null +++ b/templates/section.html @@ -0,0 +1,28 @@ +{% extends "base.html" %} + +{% block header %} +

..{{ section.path }}

+ +

{{ section.title }}

+{% endblock header %} + +{% block content %} +{{ section.content | safe }} +{% if paginator %} +{% set pages = paginator.pages %} +{% else %} +{% set pages = section.pages %} +{% endif %} + +{% if paginator %} +

{% if paginator.previous %}<< First < Previous{% endif %} [{{ paginator.current_index }}/{{ paginator.number_pagers }}] {% if paginator.next %}Next > Last >>{% endif %}

+{% endif %} +{% endblock content %} \ No newline at end of file -- cgit v1.2.3