mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-11-09 04:29:21 +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,4 +1,4 @@
|
||||
{{ with site.Data.contributors }}
|
||||
{{ with hugo.Data.contributors }}
|
||||
<section class="contributors-section mt-12 mb-16">
|
||||
<div class="flex flex-col items-center mb-6">
|
||||
<div class="flex items-center gap-2 mb-2">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{{ with .Params.sharingLinks | default (.Site.Params.article.sharingLinks | default false) }}
|
||||
{{ $links := site.Data.sharing }}
|
||||
{{ $links := hugo.Data.sharing }}
|
||||
<section class="flex flex-row flex-wrap justify-center pt-4 text-xl">
|
||||
{{ range . }}
|
||||
{{ with index $links . }}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{{ with site.Data.sponsors }}
|
||||
{{ with hugo.Data.sponsors }}
|
||||
<section class="sponsors-section mt-16 mb-8">
|
||||
<div class="flex flex-col items-center mb-6">
|
||||
<div class="flex items-center gap-2 mb-2">
|
||||
|
||||
@@ -124,7 +124,7 @@
|
||||
{{ end }}
|
||||
|
||||
{{ if $hasRepoCards }}
|
||||
{{ $repoColors := site.Data.repoColors }}
|
||||
{{ $repoColors := hugo.Data.repoColors }}
|
||||
{{ $cssRules := slice }}
|
||||
|
||||
{{/* default color */}}
|
||||
|
||||
Reference in new issue
Block a user