瀏覽代碼

add links to footers of oscar and simple themes

Links:
 * Source code
 * Issue tracker
 * List of public instances

Closes #1071
Noémi Ványi 7 年之前
父節點
當前提交
4f4dcdf38f
共有 2 個檔案被更改,包括 14 行新增2 行删除
  1. 8
    1
      searx/templates/oscar/base.html
  2. 6
    1
      searx/templates/simple/base.html

+ 8
- 1
searx/templates/oscar/base.html 查看文件

@@ -87,7 +87,14 @@
87 87
         <div class="container">
88 88
             {% block footer %}
89 89
             {% endblock %}
90
-            <p class="text-muted"><small>{{ _('Powered by') }} <a href="https://asciimoo.github.io/searx/">searx</a> - {{ searx_version }} - {{ _('a privacy-respecting, hackable metasearch engine') }}</small></p>
90
+            <p class="text-muted">
91
+                <small>
92
+                    {{ _('Powered by') }} <a href="https://asciimoo.github.io/searx/">searx</a> - {{ searx_version }} - {{ _('a privacy-respecting, hackable metasearch engine') }}<br/>
93
+                    <a href="https://github.com/asciimoo/searx">{{ _('Source code') }}</a> |
94
+                    <a href="https://github.com/asciimoo/searx/issues">{{ _('Issue tracker') }}</a> |
95
+                    <a href="https://github.com/asciimoo/searx/wiki/Searx-instances">{{ _('Public instances') }}</a>
96
+                </small>
97
+            </p>
91 98
         </div>
92 99
     </div>
93 100
     <script src="{{ url_for('static', filename='js/jquery-1.11.1.min.js') }}"></script>

+ 6
- 1
searx/templates/simple/base.html 查看文件

@@ -52,7 +52,12 @@
52 52
     {% endblock %}
53 53
   </main>
54 54
   <footer>
55
-    <p>{{ _('Powered by') }} <a href="{{ url_for('about') }}">searx</a> - {{ searx_version }} - {{ _('a privacy-respecting, hackable metasearch engine') }}</p>
55
+    <p>
56
+        {{ _('Powered by') }} <a href="https://asciimoo.github.io/searx/">searx</a> - {{ searx_version }} - {{ _('a privacy-respecting, hackable metasearch engine') }}<br/>
57
+        <a href="https://github.com/asciimoo/searx">{{ _('Source code') }}</a> |
58
+        <a href="https://github.com/asciimoo/searx/issues">{{ _('Issue tracker') }}</a> |
59
+        <a href="https://github.com/asciimoo/searx/wiki/Searx-instances">{{ _('Public instances') }}</a>
60
+    </p>
56 61
   </footer>
57 62
   <!--[if gte IE 9]>-->
58 63
   <script src="{{ url_for('static', filename='js/searx.min.js') }}" ></script>