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 @@ + +