From cd830339f0dc4734236438aaeb03707c64d2c8de Mon Sep 17 00:00:00 2001
From: Patrick Kollitsch <patrick@davids-neighbour.com>
Date: Sat, 29 Mar 2025 01:24:46 +0000
Subject: [PATCH] theme(fix): hyperlink text color on home different from other pages
---
layouts/index.html | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/layouts/index.html b/layouts/index.html
index 732ec7f..e33f371 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,5 +1,5 @@
{{ define "main" }}
- <article class="cf ph3 ph5-l pv3 pv4-l f4 tc-l center measure-wide lh-copy {{ $.Param "text_color" | compare.Default "mid-gray" }}">
+ <article class="cf ph3 ph5-l pv3 pv4-l f4 tc-l center measure-wide lh-copy nested-links {{ $.Param "text_color" | compare.Default "mid-gray" }}">
{{ .Content }}
</article>
@@ -16,7 +16,7 @@
<section class="w-100 mw8">
{{/* Range through the first $n_posts items of the section */}}
{{ range (collections.First $n_posts $section) }}
- <div class="relative w-100 mb4">
+ <div class="w-100 mb4 relative">
{{ .Render "summary-with-image" }}
</div>
{{ end }}
--
Gitblit v1.10.0