summaryrefslogtreecommitdiff
path: root/searx/templates
diff options
context:
space:
mode:
authorasciimoo <asciimoo@gmail.com>2013-10-21 09:51:35 +0200
committerasciimoo <asciimoo@gmail.com>2013-10-21 09:51:35 +0200
commiteab02e299ca6021b82344691964e88b629bb93ce (patch)
treec8316b7ff8a4ae2d801e3f5a5f1a998ee8ad0dfc /searx/templates
parent33d0e15ffcf36bf2148cdc26a2a26c581ce30b30 (diff)
downloadsearxng-eab02e299ca6021b82344691964e88b629bb93ce.tar.gz
searxng-eab02e299ca6021b82344691964e88b629bb93ce.zip
[mod] github ribbon to about page
Diffstat (limited to 'searx/templates')
-rw-r--r--searx/templates/about.html1
-rw-r--r--searx/templates/github_ribbon.html3
-rw-r--r--searx/templates/index.html4
3 files changed, 5 insertions, 3 deletions
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' %}