Skip to content

Commit 97a43c5

Browse files
Simplify the format of problem number.
1 parent 5f1eb62 commit 97a43c5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

bullet/problems/templates/archive/problems.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ <h2 class="text-2xl md:text-4xl mt-4 mb-4 md:mb-16">{{ competition.name }}</h2>
2424
{% for problem in object_list %}
2525
<article class="my-8 max-w-prose mx-auto px-2">
2626
<h2 class="font-bold text-lg">
27-
{% problem_number problem categories as problem_number %}
28-
{% blocktranslate with n=problem_number %}Problem {{ n }}{% endblocktranslate %}
27+
{% blocktranslate with n=problem.problem.number %}Problem {{ n }}{% endblocktranslate %}
2928
</h2>
3029
<div class="prose prose-archive">
3130
{{ problem.statement|safe }}

0 commit comments

Comments
 (0)