From 1019da696484850e6136bc30e30b10d778874882 Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Mon, 24 Jul 2023 17:49:03 -0700 Subject: [PATCH] Hide sspdhemss submissions --- themes/tegakituesday.com/layouts/challenges/single.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/themes/tegakituesday.com/layouts/challenges/single.html b/themes/tegakituesday.com/layouts/challenges/single.html index 9d54bf3..9119111 100644 --- a/themes/tegakituesday.com/layouts/challenges/single.html +++ b/themes/tegakituesday.com/layouts/challenges/single.html @@ -156,11 +156,13 @@ {{- if isset .Site.Data "challenges" -}} {{- range index .Site.Data.challenges ($current) -}} {{- $submission := . -}} + {{ if or (ne $submission.username "sspdhemss") (gt $current 121) }} {{- range.images -}} {{- $path := printf "%s" . | printf "%s%s" "/" | printf "%s%s" $current | printf "%s" -}} {{- $image := resources.Get $path -}} {{- partial "submission.html" (dict "submission" $submission "challenge" $current "image" $image) -}} {{- end -}} + {{ end }} {{- end -}} {{- end -}}