title: Flask templates : Linking html pages
body: <p>I am new to Flask. I have the index1.html as my home page. I have added a navigation bar with links to other html pages. How do I go about it?</p>
  
  <pre><code>nav&gt;
    &lt;button type="button" id="nav-toggle" onclick="$('nav ul').toggle()"&gt;☰MENU&lt;/button&gt;
  &lt;ul&gt;
  
  &lt;li class="active"&gt;&lt;a href="index1.html" class="nav_tab" id="_a"&gt;Overview&lt;/a&gt;&lt;/li&gt;  
  &lt;li&gt;&lt;a href="search.html" class="nav_tab" id="_b"&gt;Search&lt;/a&gt;&lt;/li&gt;
  
  &lt;/ul&gt;
  &lt;/nav&gt;
  </code></pre>
  
  <p>The html pages are in the template folder. The 'overview' link should point at the home page (index1.html) while 'search' should go to the search.html page. How can I achieve this in flask ? 
  My routes.py looks like this:</p>
  
  <pre><code>from flask import render_template
  from tomvar import app
  
  @app.route('/')
  @app.route('/index')
  def index():
      return render_template('index1.html')
  </code></pre>