diff options
author | Roger Gonzalez <roger@rogs.me> | 2023-01-15 22:03:40 -0300 |
---|---|---|
committer | Roger Gonzalez <roger@rogs.me> | 2023-01-15 22:03:40 -0300 |
commit | 769de795b14b0420445bdfe2ccfae906d7551403 (patch) | |
tree | 064a150e15097fdf68efec4727ec1781be339364 /layouts | |
parent | 1b4f653f3cd2ae9c4724c4138916fa6a1eca4560 (diff) |
Changed the baseURL for the permalink in the visitor badge page_id
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 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> |