Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

[mod] github ribbon to about page

asciimooeab02e299ca6
diff --git a/searx/templates/about.html b/searx/templates/about.html
index 54efc8d8e..db61acf7d 100644
--- a/searx/templates/about.html
+++ b/searx/templates/about.html
@@ -1,5 +1,6 @@
{% extends 'base.html' %}
{% block content %}
+{% include 'github_ribbon.html' %}
<div class="row">
<h1>About <a href="/">searx</a></h1>
diff --git a/searx/templates/github_ribbon.html b/searx/templates/github_ribbon.html
new file mode 100644
index 000000000..92862f6b5
--- /dev/null
+++ b/searx/templates/github_ribbon.html
@@ -0,0 +1,3 @@
+<a href="https://github.com/asciimoo/searx" class="github">
+ <img style="position: absolute; top: 0; right: 0; border: 0;" src="/static/img/github_ribbon.png" alt="Fork me on GitHub" class="github"/>
+</a>
diff --git a/searx/templates/index.html b/searx/templates/index.html
index 300bf146e..ce0ff8e44 100644
--- a/searx/templates/index.html
+++ b/searx/templates/index.html
@@ -1,8 +1,6 @@
{% extends "base.html" %}
{% block content %}
-<a href="https://github.com/asciimoo/searx" class="github">
- <img style="position: absolute; top: 0; right: 0; border: 0;" src="/static/img/github_ribbon.png" alt="Fork me on GitHub" class="github"/>
-</a>
+{% include 'github_ribbon.html' %}
<div class="center">
<h1 class="title">searx</h1>
{% include 'search.html' %}