mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 19:50:00 +00:00
[mod] add CSS (LESS) to xsl style to view rss in browser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
committed by
Markus Heiser
parent
5fbea0b62d
commit
cf8c36f351
@@ -614,6 +614,14 @@ def client_token(token=None):
|
||||
return Response('', mimetype='text/css')
|
||||
|
||||
|
||||
@app.route('/rss.xsl', methods=['GET', 'POST'])
|
||||
def rss_xsl():
|
||||
return render_template(
|
||||
f"{request.preferences.get_value('theme')}/rss.xsl",
|
||||
url_for=custom_url_for,
|
||||
)
|
||||
|
||||
|
||||
@app.route('/search', methods=['GET', 'POST'])
|
||||
def search():
|
||||
"""Search query in q and return results.
|
||||
|
||||
Reference in New Issue
Block a user