From e6589dc61c7965e3da4359922d8ceee6310095ef Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Thu, 30 Jun 2022 00:05:15 +0000 Subject: [PATCH] Adjust title --- apiserver/server.py | 4 ++-- webclient/src/Article.js | 2 +- webclient/src/Comments.js | 2 +- webclient/src/Feed.js | 2 +- webclient/src/Results.js | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apiserver/server.py b/apiserver/server.py index 0209cc9..52bd18f 100644 --- a/apiserver/server.py +++ b/apiserver/server.py @@ -124,7 +124,7 @@ def story(sid): @flask_app.route('/search') def index(): return render_template('index.html', - title='Feed', + title='QotNews', url='news.t0.vc', description='Hacker News, Reddit, Lobsters, and Tildes articles rendered in reader mode', robots='index', @@ -153,7 +153,7 @@ def static_story(sid): url = url.replace('www.', '') return render_template('index.html', - title=story['title'], + title=story['title'] + ' | QotNews', url=url, description=description, robots='noindex', diff --git a/webclient/src/Article.js b/webclient/src/Article.js index 7167bf3..d4def54 100644 --- a/webclient/src/Article.js +++ b/webclient/src/Article.js @@ -67,7 +67,7 @@ class Article extends React.Component { {story ?
- {story.title} - QotNews + {story.title} | QotNews diff --git a/webclient/src/Comments.js b/webclient/src/Comments.js index 1c1292f..7315ae6 100644 --- a/webclient/src/Comments.js +++ b/webclient/src/Comments.js @@ -115,7 +115,7 @@ class Article extends React.Component { {story ?
- {story.title} - QotNews Comments + {story.title} | QotNews diff --git a/webclient/src/Feed.js b/webclient/src/Feed.js index 14cbe48..a498a80 100644 --- a/webclient/src/Feed.js +++ b/webclient/src/Feed.js @@ -52,7 +52,7 @@ class Feed extends React.Component { return (
- Feed - QotNews + QotNews {error &&

Connection error?

} diff --git a/webclient/src/Results.js b/webclient/src/Results.js index 1051a11..2f193fb 100644 --- a/webclient/src/Results.js +++ b/webclient/src/Results.js @@ -56,7 +56,7 @@ class Results extends React.Component { return (
- Feed - QotNews + Search Results | QotNews {error &&

Connection error?

} {stories ?