Add Blog to sidebar and reorder posts

This commit is contained in:
Noémi Ványi 2021-09-19 18:46:30 +02:00
parent 3bc4077f33
commit 762c1c4189
2 changed files with 5 additions and 4 deletions

View File

@ -3,14 +3,14 @@ Blog
==== ====
.. toctree:: .. toctree::
:maxdepth: 2 :titlesonly:
:caption: Contents :reversed:
lxcdev-202006
python3 python3
admin admin
intro-offline intro-offline
private-engines private-engines
lxcdev-202006
command-line-engines command-line-engines
search-indexer-engines search-indexer-engines
sql-engines sql-engines

View File

@ -10,7 +10,7 @@ from searx.version import VERSION_STRING
# Project -------------------------------------------------------------- # Project --------------------------------------------------------------
project = u'searx' project = u'searx'
copyright = u'2015-2020, Adam Tauber, Noémi Ványi' copyright = u'2015-2021, Adam Tauber, Noémi Ványi'
author = u'Adam Tauber' author = u'Adam Tauber'
release, version = VERSION_STRING, VERSION_STRING release, version = VERSION_STRING, VERSION_STRING
highlight_language = 'none' highlight_language = 'none'
@ -101,6 +101,7 @@ imgmath_font_size = 14
html_theme_options = {"index_sidebar_logo": True} html_theme_options = {"index_sidebar_logo": True}
html_context = {"project_links": [] } html_context = {"project_links": [] }
html_context["project_links"].append(ProjectLink("Blog", "blog/index.html"))
if brand.GIT_URL: if brand.GIT_URL:
html_context["project_links"].append(ProjectLink("Source", brand.GIT_URL)) html_context["project_links"].append(ProjectLink("Source", brand.GIT_URL))
if brand.WIKI_URL: if brand.WIKI_URL: