diff --git a/layouts/shortcodes/codeberg.html b/layouts/shortcodes/codeberg.html index 89201e0f..38a4ff7f 100644 --- a/layouts/shortcodes/codeberg.html +++ b/layouts/shortcodes/codeberg.html @@ -4,11 +4,11 @@ {{- $codebergData := dict -}} {{- with try (resources.GetRemote $codebergURL) -}} {{- with .Err -}} - {{- warnf "codeberg shortcode: failed to fetch remote resource from %q: %s" $codebergURL .Position -}} + {{- warnf "codeberg shortcode: failed to fetch remote resource from %q: %s" $codebergURL $.Position -}} {{- else with .Value -}} {{- $codebergData = . | transform.Unmarshal -}} {{- else -}} - {{- warnf "codeberg shortcode: unable to get remote resource from %q: %s" $codebergURL .Position -}} + {{- warnf "codeberg shortcode: unable to get remote resource from %q: %s" $codebergURL $.Position -}} {{- end -}} {{- end -}} diff --git a/layouts/shortcodes/forgejo.html b/layouts/shortcodes/forgejo.html index d230a4e3..b67659d4 100644 --- a/layouts/shortcodes/forgejo.html +++ b/layouts/shortcodes/forgejo.html @@ -4,11 +4,11 @@ {{- $forgejoData := dict -}} {{- with try (resources.GetRemote $forgejoURL) -}} {{- with .Err -}} - {{- warnf "forgejo shortcode: failed to fetch remote resource from %q: %s" $forgejoURL .Position -}} + {{- warnf "forgejo shortcode: failed to fetch remote resource from %q: %s" $forgejoURL $.Position -}} {{- else with .Value -}} {{- $forgejoData = . | transform.Unmarshal -}} {{- else -}} - {{- warnf "forgejo shortcode: unable to get remote resource from %q: %s" $forgejoURL .Position -}} + {{- warnf "forgejo shortcode: unable to get remote resource from %q: %s" $forgejoURL $.Position -}} {{- end -}} {{- end -}} diff --git a/layouts/shortcodes/gitea.html b/layouts/shortcodes/gitea.html index f8e7531d..27cbbeea 100644 --- a/layouts/shortcodes/gitea.html +++ b/layouts/shortcodes/gitea.html @@ -4,11 +4,11 @@ {{- $giteaData := dict -}} {{- with try (resources.GetRemote $giteaURL) -}} {{- with .Err -}} - {{- warnf "gitea shortcode: failed to fetch remote resource from %q: %s" $giteaURL .Position -}} + {{- warnf "gitea shortcode: failed to fetch remote resource from %q: %s" $giteaURL $.Position -}} {{- else with .Value -}} {{- $giteaData = . | transform.Unmarshal -}} {{- else -}} - {{- warnf "gitea shortcode: unable to get remote resource from %q: %s" $giteaURL .Position -}} + {{- warnf "gitea shortcode: unable to get remote resource from %q: %s" $giteaURL $.Position -}} {{- end -}} {{- end -}} diff --git a/layouts/shortcodes/github.html b/layouts/shortcodes/github.html index bad67123..b9b465ea 100644 --- a/layouts/shortcodes/github.html +++ b/layouts/shortcodes/github.html @@ -6,11 +6,11 @@ {{- $githubData := dict -}} {{- with try (resources.GetRemote $githubURL) -}} {{- with .Err -}} - {{- warnf "github shortcode: failed to fetch remote resource from %q: %s" $githubURL .Position -}} + {{- warnf "github shortcode: failed to fetch remote resource from %q: %s" $githubURL $.Position -}} {{- else with .Value -}} {{- $githubData = . | transform.Unmarshal -}} {{- else -}} - {{- warnf "github shortcode: unable to get remote resource from %q: %s" $githubURL .Position -}} + {{- warnf "github shortcode: unable to get remote resource from %q: %s" $githubURL $.Position -}} {{- end -}} {{- end -}} diff --git a/layouts/shortcodes/gitlab.html b/layouts/shortcodes/gitlab.html index cbc79ca3..065f70ae 100644 --- a/layouts/shortcodes/gitlab.html +++ b/layouts/shortcodes/gitlab.html @@ -3,11 +3,11 @@ {{- $gitLabData := dict -}} {{- with try (resources.GetRemote $gitlabURL) -}} {{- with .Err -}} - {{- warnf "gitlab shortcode: failed to fetch remote resource from %q: %s" $gitlabURL .Position -}} + {{- warnf "gitlab shortcode: failed to fetch remote resource from %q: %s" $gitlabURL $.Position -}} {{- else with .Value -}} {{- $gitLabData = . | transform.Unmarshal -}} {{- else -}} - {{- warnf "gitlab shortcode: unable to get remote resource from %q: %s" $gitlabURL .Position -}} + {{- warnf "gitlab shortcode: unable to get remote resource from %q: %s" $gitlabURL $.Position -}} {{- end -}} {{- end -}}