Browse Source

fixing issue with intro texts

practices
Simon Bowie 1 year ago
parent
commit
7b458de933
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      web/app/practice.py
  2. +1
    -1
      web/app/tool.py

+ 1
- 1
web/app/practice.py View File

@@ -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 View File

@@ -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)


Loading…
Cancel
Save