galacticpuzzlehunt / gph-site

Django app for running a puzzlehunt (open-source version)
MIT License
62 stars 31 forks source link

Sample solution templates do not follow the correct syntax for solution-body #22

Closed enigmathix closed 2 years ago

enigmathix commented 2 years ago

As indicated in the readme file and the code, puzzle and solution bodies should be either of the form -body-html or -body-md. Most of the sample solutions (used by loaddata) do not follow that syntax: {% block solution-body %}

and therefore fail to load in the front end. Only solution_bodies/sample.html is correct.

All the other ones should use {% block solution-body-md %} except solution_bodies/diagramless.html which should use {% block solution-body-html %}