瀏覽代碼

fixing issue with intro texts

practices
Simon Bowie 1 年之前
父節點
當前提交
7b458de933
共有 2 個檔案被更改,包括 2 行新增2 行删除
  1. +1
    -1
      web/app/practice.py
  2. +1
    -1
      web/app/tool.py

+ 1
- 1
web/app/practice.py 查看文件

@@ -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 查看文件

@@ -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…
取消
儲存