From 52eef3e25eea42bc9a4ea3c7629b33c485b4b3f1 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Fri, 26 Apr 2024 15:12:58 -0400 Subject: [PATCH] fix: formatting --- src/posts/2024/adding-a-light-dark-theme-toggle.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/posts/2024/adding-a-light-dark-theme-toggle.md b/src/posts/2024/adding-a-light-dark-theme-toggle.md index 94319bf0..bf86f701 100644 --- a/src/posts/2024/adding-a-light-dark-theme-toggle.md +++ b/src/posts/2024/adding-a-light-dark-theme-toggle.md @@ -26,6 +26,7 @@ I built the button as a short Liquid partial: The `client-side` class above hides the button should the user have JavaScript disabled: +{% raw %]} ```html ``` +{% endraw %} And JavaScript is used to control the behavior of the toggle — first, in the `` of my base template: