From f1a8069ab35e758a02c1b546fda6fa9642d807ea Mon Sep 17 00:00:00 2001 From: ehab Date: Sun, 7 Sep 2025 11:26:08 +0300 Subject: [PATCH] update banner --- content/home/index.md | 3 +++ templates/_default/base.html | 2 +- templates/shortcodes/banner.html | 22 ++++++++++++++++++++++ 3 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 templates/shortcodes/banner.html diff --git a/content/home/index.md b/content/home/index.md index ef5d8ea3d..f5fef3f37 100644 --- a/content/home/index.md +++ b/content/home/index.md @@ -7,6 +7,9 @@ extra: imgPath: home/tf.png --- + +{{ banner()}} + {{ hero_text_center( diff --git a/templates/_default/base.html b/templates/_default/base.html index 8153974a0..9b795a415 100644 --- a/templates/_default/base.html +++ b/templates/_default/base.html @@ -43,7 +43,7 @@ {% include "partials/header.html" %}
- {% include "partials/banner.html" %} + {% block content %}{% endblock %}
diff --git a/templates/shortcodes/banner.html b/templates/shortcodes/banner.html new file mode 100644 index 000000000..ba1f2232f --- /dev/null +++ b/templates/shortcodes/banner.html @@ -0,0 +1,22 @@ + +