diff --git a/themes/devopsdays-theme/layouts/partials/sponsors.html b/themes/devopsdays-theme/layouts/partials/sponsors.html index a573f8efe56..7f3354b6423 100644 --- a/themes/devopsdays-theme/layouts/partials/sponsors.html +++ b/themes/devopsdays-theme/layouts/partials/sponsors.html @@ -35,7 +35,9 @@
- {{- if eq $level.max 1 -}} + {{- if $level.full_label -}} + + {{- else if eq $level.max 1 -}} {{- else -}} @@ -54,7 +56,11 @@ {{- else -}} {{- end -}} {{- end -}} diff --git a/utilities/examples/data/events/main.yml b/utilities/examples/data/events/main.yml index 7e500f7dcad..d561551b420 100644 --- a/utilities/examples/data/events/main.yml +++ b/utilities/examples/data/events/main.yml @@ -94,6 +94,8 @@ sponsors_accepted : "yes" # Whether you want "Become a XXX Sponsor!" link # You may optionally include a "max" attribute to limit the number of sponsors per level. For # unlimited sponsors, omit the max attribute or set it to 0. If you want to prevent all # sponsorship for a specific level, it is best to remove the level. +# You can also use "full_label" to override the default label generated for the level +# which is adding "Sponsors" to the end of the label (e.g. "Gold" becomes "Gold Sponsors") sponsor_levels: - id: gold label: Gold @@ -105,3 +107,4 @@ sponsor_levels: label: Bronze - id: community label: Community +# full_label: Community Partners # Optional: Use this if you want a different label displayed on the page for the level