forgot to remove the endpoint

This commit is contained in:
0x01fe 2024-07-11 15:35:23 -05:00
parent 9cdd5f3da4
commit c3f7cd5ac7

View File

@ -231,27 +231,6 @@ def programming():
return flask.render_template('programming.html', posts=posts_and_comments, form=form, user=user, status=status) 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 # About Page
@app.route('/about/') @app.route('/about/')
def about(): def about():