mirror of
https://gitee.com/butubb8/blowfish.git
synced 2025-12-05 14:17:50 +08:00
Merge pull request #2398 from ZhenShuo2021/fix/repo-card-dollar
🐛 Fix(repo-card): add missing dollar sign
This commit is contained in:
@@ -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 -}}
|
||||
|
||||
|
||||
@@ -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 -}}
|
||||
|
||||
|
||||
@@ -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 -}}
|
||||
|
||||
|
||||
@@ -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 -}}
|
||||
|
||||
|
||||
@@ -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 -}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user