Parcourir la source

fixing issue with intro texts

practices
Simon Bowie il y a 1 an
Parent
révision
7b458de933
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. +1
    -1
      web/app/practice.py
  2. +1
    -1
      web/app/tool.py

+ 1
- 1
web/app/practice.py Voir le fichier

@@ -29,7 +29,7 @@ def get_practices():
# set resource type
resource_type = 'practice'
# get introductory paragraph Markdown
with open('content/books.md', 'r') as f:
with open('content/practices.md', 'r') as f:
intro_text = f.read()
intro_text = markdown.markdown(intro_text)


+ 1
- 1
web/app/tool.py Voir le fichier

@@ -28,7 +28,7 @@ def get_tools():
# set resource type
resource_type = 'tool'
# get introductory paragraph Markdown
with open('content/books.md', 'r') as f:
with open('content/tools.md', 'r') as f:
intro_text = f.read()
intro_text = markdown.markdown(intro_text)


Chargement…
Annuler
Enregistrer