mirror of https://github.com/dirtbags/moth.git
Allow (but ignore) hint and name header fields
This commit is contained in:
parent
187db734df
commit
3dec304423
|
@ -102,6 +102,10 @@ class Puzzle:
|
|||
self.summary = val
|
||||
elif key == 'answer':
|
||||
self.answers.append(val)
|
||||
elif key == 'hint':
|
||||
pass
|
||||
elif key == 'name':
|
||||
pass
|
||||
elif key == 'file':
|
||||
parts = val.split()
|
||||
name = parts[0]
|
||||
|
|
|
@ -76,11 +76,6 @@ def generate_html(ziphandle, puzzle, puzzledir, category, points, authors, files
|
|||
</form>
|
||||
</section>
|
||||
<address>Puzzle by <span class="authors" data-handle="{authors}">{authors}</span></address>
|
||||
<section id="sponsors">
|
||||
<img src="../../images/lanl.png" alt="Los Alamos National Laboratory">
|
||||
<img src="../../images/doe.png" alt="US Department Of Energy">
|
||||
<img src="../../images/sandia.png" alt="Sandia National Laboratories">
|
||||
</section>
|
||||
</body>
|
||||
</html>'''.format(
|
||||
category=category,
|
||||
|
|
Loading…
Reference in New Issue