From affc0fda6478ff51ec8e2294d202ad6f57c20cba Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Fri, 28 Feb 2020 15:29:38 -0500 Subject: [PATCH] fix: fix width on content to always be aligned with the header --- source/_posts/2020-02-19-embark-5-2-release.md | 6 +++++- themes/embark/layout/archive.swig | 2 +- themes/embark/layout/blog-post.swig | 6 +++--- themes/embark/layout/index.swig | 2 +- themes/embark/layout/page.swig | 2 +- themes/embark/layout/partial/header-blog.swig | 2 +- 6 files changed, 12 insertions(+), 8 deletions(-) diff --git a/source/_posts/2020-02-19-embark-5-2-release.md b/source/_posts/2020-02-19-embark-5-2-release.md index e2e5bd89..5c4fec5f 100644 --- a/source/_posts/2020-02-19-embark-5-2-release.md +++ b/source/_posts/2020-02-19-embark-5-2-release.md @@ -9,8 +9,12 @@ layout: blog-post image: '/assets/images/embark-header_blank.jpg' --- + + ![Embark Labs](/assets/images/embark_logo.png) + + Embark 5.2 === @@ -144,7 +148,7 @@ config({ } } } -}) +}) ``` ## Improved compatibility diff --git a/themes/embark/layout/archive.swig b/themes/embark/layout/archive.swig index 04241e73..52edc92b 100644 --- a/themes/embark/layout/archive.swig +++ b/themes/embark/layout/archive.swig @@ -24,7 +24,7 @@ }} {% endif %}
-
+
{% for post in page.posts %} {{ partial('partial/whisperbox', { diff --git a/themes/embark/layout/blog-post.swig b/themes/embark/layout/blog-post.swig index c23b763c..cea754ee 100644 --- a/themes/embark/layout/blog-post.swig +++ b/themes/embark/layout/blog-post.swig @@ -7,13 +7,13 @@ }) }}
-
+
{{page.content}}
- + {% if page.next !== null || page.prev !== null %} -
+
{{ partial('partial/paginator', { next: page.next, prev: page.prev }) }}
{% endif %} diff --git a/themes/embark/layout/index.swig b/themes/embark/layout/index.swig index 497a57de..e6709758 100644 --- a/themes/embark/layout/index.swig +++ b/themes/embark/layout/index.swig @@ -187,7 +187,7 @@
-
+

{{__('start_page.newsletter_section.heading.title')}}

diff --git a/themes/embark/layout/page.swig b/themes/embark/layout/page.swig index 897db19a..d5d218ce 100644 --- a/themes/embark/layout/page.swig +++ b/themes/embark/layout/page.swig @@ -6,7 +6,7 @@ }) }}
-
+
{{page.content}}
diff --git a/themes/embark/layout/partial/header-blog.swig b/themes/embark/layout/partial/header-blog.swig index b0d32134..0cf0c8e4 100644 --- a/themes/embark/layout/partial/header-blog.swig +++ b/themes/embark/layout/partial/header-blog.swig @@ -55,7 +55,7 @@
-
+

{{ title }}

{% if author %}