瀏覽代碼

fixing table of contents page

solr_update
Simon Bowie 2 年之前
父節點
當前提交
22fee95045
共有 1 個檔案被更改,包括 1 行新增6 行删除
  1. +1
    -6
      web/app/main.py

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

@@ -19,12 +19,7 @@ def index():
# route for table of contents page
@main.route('/contents/')
def contents():
with open('content/toc.md', 'r') as f:
with open('content/TOC.md', 'r') as f:
text = f.read()
text = markdown.markdown(text)
return render_template('text.html', text=text)

@main.route('/test/')
def test():
text = "whatever"
return render_template('text.html', text=text)

Loading…
取消
儲存