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/index.html | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 templates/index.html (limited to 'templates/index.html') diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..146df3b --- /dev/null +++ b/templates/index.html @@ -0,0 +1,25 @@ +{% extends "base.html" %} + +{% block content %} +{{ section.content | safe }} + +{% if section.extra.list_pages %} +{% 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 %} +{% endif %} +{% endblock content %} \ No newline at end of file -- cgit v1.2.3