I have main index.html file and it contains several links to sub-html files. For example, from index.html if an user clicks an link it directs to sub-page intro.html but seems like render_template only receives one html file. How do I connect multiple html files using render_template?
Files structures: templates/ index.html text.html
I just want to link text.html file from index.html.
In the index.html, I will have a link like the following:
<a href="text.html">Link</a>
Then I want to direct the Link to load the contents of text.html
Second edit
@app.route('/myhtml', methods=['GET'])
def myhtml():
    return render_template('myhtml.html')
I want to to something like this.
If I type localhost:8000/myhtml  it should link to myhtml.html
 
    