diff --git a/app.py b/app.py index 8f38cf7..a041ac8 100644 --- a/app.py +++ b/app.py @@ -105,6 +105,14 @@ def methodology(): content = get_methodology_content() return render_template('methodology.html', content=content) +@app.route('/methodology/') +def methodology_section(title): + content = get_methodology_content() + section = next((s for s in content if s["title"].replace(" ", "_").lower() == title.lower()), None) + if not section: + abort(404) + return render_template('section.html', section=section) + @app.route('/linux') def linux(): sections = get_linux_content()