From d38bea0cc232e325f893b51a2bfeb789e96ea866 Mon Sep 17 00:00:00 2001 From: Jake Charman Date: Sat, 15 Feb 2025 22:57:23 +0000 Subject: [PATCH] Add page titles --- src/contact.py | 2 +- src/projects.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/contact.py b/src/contact.py index 7774c10..27957bc 100755 --- a/src/contact.py +++ b/src/contact.py @@ -59,4 +59,4 @@ def contact(): return render_template('contact.html', user_message='Your message has been sent!') return render_template('contact.html', error=True, user_message='An error occurred.') else: - return render_template('contact.html') + return render_template('contact.html', page_title='Contact - ') diff --git a/src/projects.py b/src/projects.py index eb9bbb2..dee9385 100755 --- a/src/projects.py +++ b/src/projects.py @@ -73,7 +73,8 @@ def projects(): articles=articles_to_return, all_categories=categories, title='Projects', - description='A selection of projects I\'ve been involved in') + page_title='Projects - ', + description='A selection of projects I\'ve been involved in1') @app.route('/projects/category//') def category(category):