summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/sub-footer.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/sub-footer.html b/layouts/partials/sub-footer.html
index f5ac049..d55063b 100644
--- a/layouts/partials/sub-footer.html
+++ b/layouts/partials/sub-footer.html
@@ -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={{ .Permalink | absURL }}&right_color=%235FAF63" alt="visitor badge"/>
+ <img src="https://visitor-badge.laobi.icu/badge?page_id={{ .Site.BaseURL }}/{{ .Permalink | absURL }}&right_color=%235FAF63" alt="visitor badge"/>
</li>
{{ end }}
</ul>