From f397a341c8b6dcc254aac7074f8dea965a52cacc Mon Sep 17 00:00:00 2001 From: Luke <16389426+LukeSeers@users.noreply.github.com> Date: Wed, 9 Feb 2022 21:39:41 +0100 Subject: [PATCH] Fix card-extended shadow --- _layouts/blog.html | 18 ++--------- _layouts/page_container.html | 30 +++++++------------ .../2021-12-07-progress-update-november.md | 2 +- 3 files changed, 13 insertions(+), 37 deletions(-) diff --git a/_layouts/blog.html b/_layouts/blog.html index bc50a4a..5909401 100644 --- a/_layouts/blog.html +++ b/_layouts/blog.html @@ -18,24 +18,10 @@ layout: page_container <a class="link hover-opacity-in" href="{{ site.reddit_url }}"><i class="icon-reddit text-xl"></i></a> </div> </div> + <div class="markdown-container"> {{ content | replace: '<!--break-->', '<a class="anchor" id="continue"></a>' }} {% if page.progress_update == null %} <p>{{ page.date | date: "%B %-d, %Y" }} • Written by <a href="{{ site.team_url }}#{{ page.author | slugify }}">{{ page.author | capitalize }}</a></p> {% endif %} -</div> -<div class="horizontal-line element-x-center max-w-4xl mt-0"></div> - -{% if page.portmaster_plug == true %} - {% include portmaster_plug.html %} -{% endif %} - -{% include next_previous_item.html %} - -<!-- -{% if page.progress_update %} - <div class="progress-update"> -{% else %} - <div class="content" id="blog"> -{% endif %} - --> \ No newline at end of file +</div> \ No newline at end of file diff --git a/_layouts/page_container.html b/_layouts/page_container.html index 7a11164..68f6e77 100644 --- a/_layouts/page_container.html +++ b/_layouts/page_container.html @@ -2,24 +2,14 @@ layout: page --- -<section id="page-container" class="pb-8 lg:pb-24 pt-16 lg:pt-40 {{ layout.container_class }} {{ page.container_class }}"> - <div class="items-center h-full"> - <div class="container mx-auto sm:px-8 sm:px-0 flex"> - <div class="max-w-screen-lg mx-auto px-4 sm:px-6 lg:flex"> - <div class="py-12 bg-white"> - <div class="max-w-screen-xl mx-auto px-2 sm:px-6 lg:px-8"> - <content> - {% unless page.heading == null %} - <h1 class="text-5xl tracking-tight font-extrabold leading-none"> - {{ page.heading }} - </h1> - {% endunless %} +<section> + {{ content }} - {{ content }} - </content> - </div> - </div> - </div> - </div> - </div> -</section> + <div class="horizontal-line element-x-center max-w-4xl mt-0"></div> + + {% if page.portmaster_plug == true %} + {% include portmaster_plug.html %} + {% endif %} + + {% include next_previous_item.html %} +</section> \ No newline at end of file diff --git a/_publications/2021-12-07-progress-update-november.md b/_publications/2021-12-07-progress-update-november.md index a91bb8c..1b2b636 100644 --- a/_publications/2021-12-07-progress-update-november.md +++ b/_publications/2021-12-07-progress-update-november.md @@ -202,4 +202,4 @@ cards: discarded: --- -{% include progress-update-tablecards.html %} +{% include progress-update-tablecards.html %} \ No newline at end of file