diff options
author | Roger Gonzalez <roger@rogs.me> | 2023-01-15 22:06:45 -0300 |
---|---|---|
committer | Roger Gonzalez <roger@rogs.me> | 2023-01-15 22:06:45 -0300 |
commit | 41579ac1cdbb7d3d709b58f662415c2f9a902a5f (patch) | |
tree | d54dd3dedf9476bfedda05ed2ede2f527ef5afc7 /layouts | |
parent | 769de795b14b0420445bdfe2ccfae906d7551403 (diff) |
Added .Site.BaseURL with the Permalink in visitor badge
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/sub-footer.html | 2 |
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> |