on master help sign in
[mod] github ribbon to about page
eab02e2asciimoo
searx/templates/about.html+1
@@ -1,5 +1,6 @@
1{% extends 'base.html' %}
1{% extends 'base.html' %}
2{% block content %}
2{% block content %}
3+{% include 'github_ribbon.html' %}
3<div class="row">
4<div class="row">
4 <h1>About <a href="/">searx</a></h1>
5 <h1>About <a href="/">searx</a></h1>
5
6
searx/templates/github_ribbon.htmlnew file+3
@@ -0,0 +1,3 @@
1+<a href="https://github.com/asciimoo/searx" class="github">
2+ <img style="position: absolute; top: 0; right: 0; border: 0;" src="/static/img/github_ribbon.png" alt="Fork me on GitHub" class="github"/>
3+</a>
searx/templates/index.html+1−3
@@ -1,8 +1,6 @@
1{% extends "base.html" %}
1{% extends "base.html" %}
2{% block content %}
2{% block content %}
3−<a href="https://github.com/asciimoo/searx" class="github">
3+{% include 'github_ribbon.html' %}
4− <img style="position: absolute; top: 0; right: 0; border: 0;" src="/static/img/github_ribbon.png" alt="Fork me on GitHub" class="github"/>
5−</a>
6<div class="center">
4<div class="center">
7 <h1 class="title">searx</h1>
5 <h1 class="title">searx</h1>
8 {% include 'search.html' %}
6 {% include 'search.html' %}