mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
o
This commit is contained in:
parent
bc40e445bc
commit
7f0874c176
2 changed files with 5 additions and 5 deletions
|
@ -42,14 +42,14 @@
|
||||||
|
|
||||||
<nav id="links_on_top">
|
<nav id="links_on_top">
|
||||||
{%- from 'simple/icons.html' import icon_big -%}
|
{%- from 'simple/icons.html' import icon_big -%}
|
||||||
{%- block linkto_about -%}
|
<!-- {%- block linkto_about -%}
|
||||||
<a href="{{ url_for('info', pagename='about') }}" class="link_on_top_about">{{ icon_big('information-circle-outline') }}<span>{{ _('About') }}</span></a>
|
<a href="{{ url_for('info', pagename='about') }}" class="link_on_top_about">{{ icon_big('information-circle-outline') }}<span>{{ _('About') }}</span></a>
|
||||||
{%- endblock -%}
|
{%- endblock -%} -->
|
||||||
{%- block linkto_donate -%}
|
<!-- {%- block linkto_donate -%}
|
||||||
{%- if donation_url -%}
|
{%- if donation_url -%}
|
||||||
<a href="{{ donation_url }}" class="link_on_top_donate">{{ icon_big('heart-outline') }}<span>{{ _('Donate') }}</span></a>
|
<a href="{{ donation_url }}" class="link_on_top_donate">{{ icon_big('heart-outline') }}<span>{{ _('Donate') }}</span></a>
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{%- endblock -%}
|
{%- endblock -%} -->
|
||||||
{%- block linkto_preferences -%}
|
{%- block linkto_preferences -%}
|
||||||
<a href="{{ url_for('preferences') }}" class="link_on_top_preferences">{{ icon_big('menu-outline') }}<span>{{ _('Preferences') }}</span></a>
|
<a href="{{ url_for('preferences') }}" class="link_on_top_preferences">{{ icon_big('menu-outline') }}<span>{{ _('Preferences') }}</span></a>
|
||||||
{%- endblock -%}
|
{%- endblock -%}
|
||||||
|
|
|
@ -742,7 +742,7 @@ def search():
|
||||||
gpt = gpt.replace(urls,url_pair[urls])
|
gpt = gpt.replace(urls,url_pair[urls])
|
||||||
if gpt and gpt!="":
|
if gpt and gpt!="":
|
||||||
for i in range(1,10):
|
for i in range(1,10):
|
||||||
gpt.replace("["+i+"]","[^"+i+"]")
|
gpt.replace("["+str(i)+"]","[^"+str(i)+"]")
|
||||||
gpt = markdown.markdown( gpt , extensions=['footnotes'])
|
gpt = markdown.markdown( gpt , extensions=['footnotes'])
|
||||||
for urls in url_pair.keys():
|
for urls in url_pair.keys():
|
||||||
gpt = gpt.replace("#fn:"+urls.replace("https://url",""),url_pair[urls])
|
gpt = gpt.replace("#fn:"+urls.replace("https://url",""),url_pair[urls])
|
||||||
|
|
Loading…
Add table
Reference in a new issue