From 1c8e681deea8f6b5c84fb5f8e7669c1b463f6ca2 Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Tue, 24 Oct 2023 10:53:16 +1100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20theme=20colour=20error=20w?= =?UTF-8?q?hen=20site=20is=20in=20dark=20mode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #676 --- CHANGELOG.md | 4 ++++ layouts/partials/head.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b11f9964..f8425b6d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] +### Fixed + +- JavaScript error setting theme colour when site is loaded in dark mode ([#676](https://github.com/jpanther/congo/issues/676)) + ## [2.7.0] - 2023-10-23 ### Added diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 5bfaafd5..cbae8736 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,6 +1,7 @@ + {{/* Title */}} {{ if .IsHome -}} {{ .Site.Title | emojify }} @@ -97,7 +98,6 @@ {{ end }} - {{/* Site Verification */}} {{ with .Site.Params.verification.google }}