Browse Source

Fix missing content on search page

master
Josh Gordon 3 years ago
parent
commit
a8e47d6c36
  1. 4
      app/new_content.txt
  2. 2
      app/routes.py

4
app/new_content.txt

@ -1,3 +1,5 @@
Items/manite.txt
Spells/stasis.txt
Items/ring_of_enlargement_reduction.txt
Items/ring_of_greater_enlargment_reduction.txt
Items/ring_of_the_mastermind.txt
@ -6,5 +8,3 @@ Items/firestorm_quartz.txt
Items/lunar_steel.txt
Spells/antidivinity_strike.txt
Items/glass_weapon.txt
Spells/enter_mirror.txt
Spells/flesh_to_glass.txt

2
app/routes.py

@ -63,7 +63,7 @@ def search():
featureType = choice(["Item","Place","Spell"])
item = choice(get_items("../"+featureType+"s/*"))
return render_template('index.html',featureType=featureType,featureText=item, searchResults=results)
return render_template('index.html',featureType=featureType,featureText=item, searchResults=results,new=get_new_items())
@app.route("/marches")
def marches():

Loading…
Cancel
Save