From 93b718e4ab30dc996fc2f3355bdf80805cb03ec6 Mon Sep 17 00:00:00 2001 From: Jaimos Skriletz Date: Wed, 25 Feb 2026 19:26:53 -0700 Subject: [PATCH] Show set description on ProblemSet page. --- templates/ContentGenerator/ProblemSet.html.ep | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/templates/ContentGenerator/ProblemSet.html.ep b/templates/ContentGenerator/ProblemSet.html.ep index d9611af148..c6935a2c9e 100644 --- a/templates/ContentGenerator/ProblemSet.html.ep +++ b/templates/ContentGenerator/ProblemSet.html.ep @@ -26,6 +26,11 @@ % % my $set = $c->{set}; % +% # Show the set description if it is not empty. +% if ($set->description =~ /\S/) { +
<%= $set->description %>
+% } +% % # Stats message displays the current status of the set and states the next important date. <%= include 'ContentGenerator/Base/set_status', set => $set =%> %