From 92a29d7ffdac4dc6c5109ce6f02d3ec769178a17 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Tue, 23 Jan 2024 14:01:09 -0600 Subject: [PATCH] hide webring when analytics disabled --- config/preview/params.toml | 4 ++-- layouts/partials/aside.html | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/config/preview/params.toml b/config/preview/params.toml index 1ba7c58..c8a1743 100644 --- a/config/preview/params.toml +++ b/config/preview/params.toml @@ -1,2 +1,2 @@ -comments = true -analytics = true \ No newline at end of file +comments = false +analytics = false \ No newline at end of file diff --git a/layouts/partials/aside.html b/layouts/partials/aside.html index 2747d57..bc3d2fb 100644 --- a/layouts/partials/aside.html +++ b/layouts/partials/aside.html @@ -42,6 +42,8 @@

status.lol

+{{- if eq .Site.Params.analytics true }}
-

Tinylytics Webring

-πŸ•ΈοΈπŸ’ \ No newline at end of file +

Webring

+πŸ•ΈοΈπŸ’ +{{- end }} \ No newline at end of file