Sort specs in list

This commit is contained in:
str4d
2015-11-12 09:48:55 +00:00
parent 890206f52d
commit 9ea49ff045

View File

@ -44,6 +44,7 @@ def spec_index():
spec.update(meta)
specs.append(spec)
specs.sort(key=lambda s: s['name'])
return render_template('spec/index.html', specs=specs)
def spec_show(name, txt=False):