File tree 4 files changed +10
-8
lines changed
4 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -60,11 +60,16 @@ forgejoDefaultServer = "https://v8.next.forgejo.org"
60
60
name = " Oro"
61
61
emoji = " 🟡"
62
62
textSize = " base"
63
- imageWidth = " 324px"
64
- imageHeight = " 216px"
65
63
[[sponsors .ranks .members ]]
66
64
url = " https://es.nttdata.com"
67
65
image = " /img/sponsors/ntt.png"
66
+ imageWidth = " 324px"
67
+ imageHeight = " 216px"
68
+ [[sponsors .ranks .members ]]
69
+ url = " https://ozonegaming.com"
70
+ image = " /img/sponsors/ozone.png"
71
+ imageWidth = " 216px"
72
+ imageHeight = " 216px"
68
73
69
74
[article ]
70
75
showDate = true
Original file line number Diff line number Diff line change 1
- < a href ="{{ .context. url }} ">
2
- < img width ="{{ .width }} " height ="{{ .height }} " class ="nozoom " src ="{{ .context .image }} " />
1
+ < a href ="{{ .url }} ">
2
+ < img width ="{{ .imageWidth }} " height ="{{ .imageHeight }} " class ="nozoom " src ="{{ .image }} " />
3
3
</ a >
Original file line number Diff line number Diff line change 1
- {{ $imageWidth := .imageWidth }}
2
- {{ $imageHeight := .imageHeight }}
3
-
4
1
< h3 class ="mt-8 text-{{ .textSize }} font-extrabold mb-10 ">
5
2
< span > {{ .emoji }}</ span >
6
3
< span > {{ i18n "sponsors.rank" }}</ span >
@@ -9,6 +6,6 @@ <h3 class="mt-8 text-{{ .textSize }} font-extrabold mb-10">
9
6
10
7
< div class ="flex flex-wrap justify-center items-center gap-10 ">
11
8
{{ range .members }}
12
- {{ partial "sponsors/item.html" (dict "context" . "width" $imageWidth "height" $imageHeight) }}
9
+ {{ partial "sponsors/item.html" . }}
13
10
{{ end }}
14
11
</ div >
You can’t perform that action at this time.
0 commit comments