mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-11-02 09:09:44 +00:00
Fix Hugo v0.156.0 template deprecations
This commit is contained in:
1 parent
9bcb7d37d3
commit
ee2fc91522
10 files changed
+14
-10
No files matched your search
@@ -1,6 +1,6 @@
|
||||
{{ $id := delimit (slice "forgejo" (partial "functions/uid.html" .)) "-" }}
|
||||
{{- $forgejoURL := print (.Get "server" | default .Site.Params.forgejoDefaultServer) "/api/v1/repos/" (.Get "repo") -}}
|
||||
{{- $repoColors := .Site.Data.repoColors -}}
|
||||
{{- $repoColors := hugo.Data.repoColors -}}
|
||||
{{- $forgejoData := dict -}}
|
||||
{{- with try (resources.GetRemote $forgejoURL) -}}
|
||||
{{- with .Err -}}
|
||||
|
||||
Reference in new issue
Block a user