Browse Source

[mod] github ribbon to about page

asciimoo 11 years ago
parent
commit
eab02e299c
3 changed files with 5 additions and 3 deletions
  1. 1 0
      searx/templates/about.html
  2. 3 0
      searx/templates/github_ribbon.html
  3. 1 3
      searx/templates/index.html

+ 1 - 0
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>
 

+ 3 - 0
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>

+ 1 - 3
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' %}