From ce772d1c5c3c022ca36ad0948250b37ebbf4b77c Mon Sep 17 00:00:00 2001 From: Lukas Matzen Date: Wed, 12 May 2021 12:58:11 +0200 Subject: [PATCH 1/6] ADD client only tags to make blog ssr compatible --- resources/views/Article/Layouts/Centered.twig | 19 +++++++++++-------- resources/views/Article/Layouts/Default.twig | 19 +++++++++++-------- resources/views/Category/CategoryBlog.twig | 6 +++++- resources/views/Category/Layouts/Default.twig | 4 +++- resources/views/Category/Layouts/Modern.twig | 8 ++++++-- resources/views/Category/Search.twig | 10 ++++++---- resources/views/Landing/Layouts/Default.twig | 4 +++- .../views/Landing/Layouts/FourFeatured.twig | 8 ++++++-- resources/views/Landing/Layouts/Modern.twig | 8 ++++++-- resources/views/Sidebar/Sidebar.twig | 8 ++++++-- 10 files changed, 63 insertions(+), 31 deletions(-) diff --git a/resources/views/Article/Layouts/Centered.twig b/resources/views/Article/Layouts/Centered.twig index 3f2acca..c32ea51 100644 --- a/resources/views/Article/Layouts/Centered.twig +++ b/resources/views/Article/Layouts/Centered.twig @@ -75,14 +75,17 @@ diff --git a/resources/views/Article/Layouts/Default.twig b/resources/views/Article/Layouts/Default.twig index 2dd1a81..00a652e 100644 --- a/resources/views/Article/Layouts/Default.twig +++ b/resources/views/Article/Layouts/Default.twig @@ -77,14 +77,17 @@ diff --git a/resources/views/Category/CategoryBlog.twig b/resources/views/Category/CategoryBlog.twig index bfb705d..c555578 100644 --- a/resources/views/Category/CategoryBlog.twig +++ b/resources/views/Category/CategoryBlog.twig @@ -20,7 +20,11 @@ {% block PageBody %} - {% if blogData.updateBlogUrl %}{% endif %} + {% if blogData.updateBlogUrl %} + + + + {% endif %} {% if blogLayout == 'default' %} {% include "Blog::Category.Layouts.Default" %} diff --git a/resources/views/Category/Layouts/Default.twig b/resources/views/Category/Layouts/Default.twig index ede4a00..0eaa69a 100644 --- a/resources/views/Category/Layouts/Default.twig +++ b/resources/views/Category/Layouts/Default.twig @@ -22,7 +22,9 @@
- + + +
diff --git a/resources/views/Category/Layouts/Modern.twig b/resources/views/Category/Layouts/Modern.twig index b81413e..a9c7142 100644 --- a/resources/views/Category/Layouts/Modern.twig +++ b/resources/views/Category/Layouts/Modern.twig @@ -1,14 +1,18 @@
- + + +
- + + +
diff --git a/resources/views/Category/Search.twig b/resources/views/Category/Search.twig index b57926e..5d5318c 100644 --- a/resources/views/Category/Search.twig +++ b/resources/views/Category/Search.twig @@ -28,7 +28,9 @@ {% endif %} {% if page.type == 'search' %} - + + + {% endif %}
@@ -41,9 +43,9 @@
- - - + + +
diff --git a/resources/views/Landing/Layouts/Default.twig b/resources/views/Landing/Layouts/Default.twig index a23a2db..a2c657b 100644 --- a/resources/views/Landing/Layouts/Default.twig +++ b/resources/views/Landing/Layouts/Default.twig @@ -20,7 +20,9 @@
- + + +
diff --git a/resources/views/Landing/Layouts/FourFeatured.twig b/resources/views/Landing/Layouts/FourFeatured.twig index 3985b7b..17cabdc 100644 --- a/resources/views/Landing/Layouts/FourFeatured.twig +++ b/resources/views/Landing/Layouts/FourFeatured.twig @@ -1,14 +1,18 @@