diff --git a/templates/base.html.twig b/templates/base.html.twig index 6118acc..3d6e824 100644 --- a/templates/base.html.twig +++ b/templates/base.html.twig @@ -5,7 +5,15 @@ - + {% set des = twigFunctions.systemSettings.des %} + {% if block('des') is defined %} + {% set _block = block('des') %} + {% endif %} + {% if _block is defined %} + + {% else %} + + {% endif %} حسابیکس - {% block title %}{% endblock %} diff --git a/templates/post/page.html.twig b/templates/post/page.html.twig index 8da9bc5..7283f66 100644 --- a/templates/post/page.html.twig +++ b/templates/post/page.html.twig @@ -4,6 +4,10 @@ {{ item.title }} {% endblock %} +{% block des %} + {{ item.intro }} +{% endblock %} + {% block body %} {% if item.plain is not null %} {{ item.plain | raw}}