Added footer to results page

main
Ben Busby 2020-06-11 13:25:23 -06:00
parent f7380ae15d
commit 5f8309d2f0
2 changed files with 9 additions and 2 deletions

View File

@ -162,6 +162,7 @@ def search():
search_type=search_util.search_type, search_type=search_util.search_type,
dark_mode=g.user_config.dark, dark_mode=g.user_config.dark,
response=response, response=response,
version_number=app.config['VERSION_NUMBER'],
search_header=render_template( search_header=render_template(
'header.html', 'header.html',
dark_mode=g.user_config.dark, dark_mode=g.user_config.dark,

View File

@ -11,7 +11,13 @@
<title>{{ query }} - Whoogle Search</title> <title>{{ query }} - Whoogle Search</title>
</head> </head>
<body> <body>
{{ search_header|safe }} {{ search_header|safe }}
{{ response|safe }} {{ response|safe }}
</body> </body>
<footer>
<p style="color: {{ '#fff' if dark_mode else '#000' }};">
Whoogle Search v{{ version_number }} ||
<a style="color: #685e79" href="https://github.com/benbusby/whoogle-search">View on GitHub</a>
</p>
</footer>
</html> </html>