Fork me on GitHub

About Me Post

by Sierra Moore

28 Feb 2014

I unfortunately, had a few issues with alignment and extra files in my simple.py.

First I created an “about page” template. Here it is:

% extends "layout.html" %

% block title %<title> config.BLOG_TITLE </title>% endblock %

% block content %
    <h1>About Me</h1>
    <p>Sierra Moore is a first year Information Science Student at UNC-Chapel Hill</p>
    <p><a href="">Return to the index</a></p>
% endblock %

Created a link in simple.py

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

Here is a link to my simple page below:

http://silshack-srmoore5.herokuapp.com/

Sierra is a first year MSIS student Find Sierra Moore on Twitter, Github, and on the web.
comments powered by Disqus