on master help sign in
Add Blog to sidebar and reorder posts
commit762c1c4189e9e9947af00920e752c3adb9c3a88f authorNoémi Ványi <sitbackandwait@gmail.com> dateSun 19 Sep 2021, 18:46 (5 years ago) parent3bc4077
2 files changed+5−4
docs/blog/index.rst+3−3 docs/conf.py+2−1
docs/blog/index.rst+3−3
@@ -3,14 +3,14 @@ Blog
33====
44
55.. toctree::
6− :maxdepth: 2
7− :caption: Contents
6+ :titlesonly:
7+ :reversed:
88
9− lxcdev-202006
109 python3
1110 admin
1211 intro-offline
1312 private-engines
13+ lxcdev-202006
1414 command-line-engines
1515 search-indexer-engines
1616 sql-engines
docs/conf.py+2−1
@@ -10,7 +10,7 @@ from searx.version import VERSION_STRING
1010# Project --------------------------------------------------------------
1111
1212project = u'searx'
13−copyright = u'2015-2020, Adam Tauber, Noémi Ványi'
13+copyright = u'2015-2021, Adam Tauber, Noémi Ványi'
1414author = u'Adam Tauber'
1515release, version = VERSION_STRING, VERSION_STRING
1616highlight_language = 'none'
@@ -101,6 +101,7 @@ imgmath_font_size = 14
101101
102102html_theme_options = {"index_sidebar_logo": True}
103103html_context = {"project_links": [] }
104+html_context["project_links"].append(ProjectLink("Blog", "blog/index.html"))
104105if brand.GIT_URL:
105106 html_context["project_links"].append(ProjectLink("Source", brand.GIT_URL))
106107if brand.WIKI_URL: