diff options
-rw-r--r-- | layouts/partials/sub-footer.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/partials/sub-footer.html b/layouts/partials/sub-footer.html index fc51205..1812701 100644 --- a/layouts/partials/sub-footer.html +++ b/layouts/partials/sub-footer.html @@ -13,9 +13,11 @@ <li class="zerostatic"> <img src="/pics/element-small.png"/> <a href="https://matrix.to/#/#yams:chat.rogs.me">#yams:chat.rogs.me</a> </li> + {{ if not (in (.Site.BaseURL | string) "localhost") }} <li class="zerostatic"> <img src="https://visitor-badge.laobi.icu/badge?page_id={{ .Site.BaseURL }}&right_color=%235FAF63" alt="visitor badge"/> </li> + {{ end }} </ul> </div> </div> |