hide webring when analytics disabled

This commit is contained in:
John Bowdre 2024-01-23 14:01:09 -06:00
parent 14f851a36c
commit 92a29d7ffd
2 changed files with 6 additions and 4 deletions

View file

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

View file

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