title: Flask render_template
body: <p>New to Flask and have some experience with python, when using render_template it simply does not render the template as well as not giving out any errors.
  Code Here:</p>
  
  <pre><code>from flask import Flask, render_template
  
  app = Flask(__name__, template_folder= "/templates")
  
  
  
  
  @app.route("/")
  def index():
          #return("Index str")
      return render_template("index.html")
  
  
  @app.route("/crawler")
  def crawler():
      return("WebCrawler str")
      return render_template("crawler.html")
  
  if __name__ == "__main__":
      app.run()
      app.debug = True
  </code></pre>
  
  <p>HTML here (pretty certain file hierarchy is correct).</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  
  &lt;html lang="en"&gt;
      &lt;head&gt;
          &lt;link rel="stylesheet" type="text/css" href="{{url_for('static', filename='style.css')}}"&gt;
          &lt;meta charset = "utf-8"&gt;
          &lt;title&gt; Index&lt;/title&gt;
      &lt;head&gt;
      &lt;body&gt;
          &lt;p&gt; This webserver hosts all webapps and will showcase any unfinished applications.
              &lt;/p&gt;
  
          &lt;/body&gt;
  
  &lt;/html&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/8V8Cl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8V8Cl.png" alt="root virtual environment"></a></p>
  
  <p><a href="https://i.stack.imgur.com/Z1x6E.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Z1x6E.png" alt="static for css"></a></p>
  
  <p><a href="https://i.stack.imgur.com/sLW6H.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sLW6H.png" alt="templates folder"></a></p>