summaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials')
-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 1812701..f5ac049 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={{ .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>