Added footer to results page
parent
f7380ae15d
commit
5f8309d2f0
|
@ -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,
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue