From dcec9ed5b17235c0c9342d782c4add4e322badad Mon Sep 17 00:00:00 2001 From: Alexis Hovorka Date: Tue, 25 Oct 2022 12:17:58 -0600 Subject: [fix] Fix front page button alignment on mobile --- posts/index.njk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'posts') diff --git a/posts/index.njk b/posts/index.njk index 1e3d11f..3503bf6 100644 --- a/posts/index.njk +++ b/posts/index.njk @@ -8,7 +8,7 @@ "previousPage": d => Math.ceil((d.collections.all.length-1)/5) }} --- -

{{ pageTitle }}

+

{{ pageTitle }}


{% set post = collections.all.slice(-1)[0] -%} @@ -16,6 +16,10 @@ {%- set postDate = post.date.toISOString().slice(0,10) %}

+ {%- if post.data.heroImg %} + {{ post.data.heroImgAlt }} + {%- endif %} + {{ post.templateContent | fixAnchors(post.url) | safe }} {%- if post.data.tags %} -- cgit v1.2.3-70-g09d2