hide webring when analytics disabled

This commit is contained in:
John Bowdre 2024-01-23 14:01:09 -06:00
parent 838b448b94
commit 39ea0e9516
2 changed files with 6 additions and 4 deletions

View file

@ -1,2 +1,2 @@
comments = true
analytics = true
comments = false
analytics = false

View file

@ -42,6 +42,8 @@
<hr>
<h3>status.lol</h3>
<script src="https://status.lol/jbowdre.js?time&link&fluent&pretty"></script>
{{- if eq .Site.Params.analytics true }}
<hr>
<h3>Tinylytics Webring</h3>
<a href="" target="_blank" class="tinylytics_webring">🕸️<img class="tinylytics_webring_avatar" src="" style="display: none"/>💍</a>
<h3>Webring</h3>
<a href="" target="_blank" class="tinylytics_webring">🕸️<img class="tinylytics_webring_avatar" src="" style="display: none"/>💍</a>
{{- end }}