Changed the baseURL for the permalink in the visitor badge page_id
This commit is contained in:
parent
1b4f653f3c
commit
769de795b1
@ -15,7 +15,7 @@
|
||||
</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"/>
|
||||
<img src="https://visitor-badge.laobi.icu/badge?page_id={{ .Permalink | absURL }}&right_color=%235FAF63" alt="visitor badge"/>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
|
Loading…
x
Reference in New Issue
Block a user