Only displaying the visitor badge in the website and not in localhost
This commit is contained in:
parent
5e8531f8e5
commit
1b4f653f3c
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user