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::
:maxdepth: 2
:caption: Contents
:titlesonly:
:reversed:
lxcdev-202006
python3
admin
intro-offline
private-engines
lxcdev-202006
command-line-engines
search-indexer-engines
sql-engines

View File

@ -10,7 +10,7 @@ from searx.version import VERSION_STRING
# Project --------------------------------------------------------------
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'
release, version = VERSION_STRING, VERSION_STRING
highlight_language = 'none'
@ -101,6 +101,7 @@ imgmath_font_size = 14
html_theme_options = {"index_sidebar_logo": True}
html_context = {"project_links": [] }
html_context["project_links"].append(ProjectLink("Blog", "blog/index.html"))
if brand.GIT_URL:
html_context["project_links"].append(ProjectLink("Source", brand.GIT_URL))
if brand.WIKI_URL: