Fork me on GitHub

Jacob's Simple App

by Jacob Hill

27 Feb 2014

Created a New about.html file:

{% extends "layout.html" %} {% block title %}{{ config.BLOG_TITLE }}{% endblock %} {% block content %}

This is a page about stuff. It's my page about stuff.

{% endblock %}

Added a line of code to layout.html:

  • About

  • I created an about function in the simple.py file.

    @app.route("/about") def about(): return render_template("about.html", now=datetime.datetime.now())

    Jacob is a second year PhD student. His research is in the area of digital humanities and Middle East studies. Find Jacob Hill on Twitter, Github, and on the web.
    comments powered by Disqus