diff --git a/app/app.py b/app/app.py index 037de4f..cc8af15 100644 --- a/app/app.py +++ b/app/app.py @@ -231,27 +231,6 @@ def programming(): return flask.render_template('programming.html', posts=posts_and_comments, form=form, user=user, status=status) -@app.route('/writing/') -def writing(): - - works = [] - - # Get all works in writing folder - files = glob.glob(WRITING_FOLDER + '*') - - for path in files: - - date: str = datetime.datetime.fromtimestamp(os.path.getctime(path)).strftime("%B %d, %Y") - name: str = path.split('/')[-1] - - works.append({ - 'date' : date, - 'name' : name, - 'path' : path - }) - - return flask.render_template('writing.html', works=works) - # About Page @app.route('/about/') def about():