diff options
| author | samsaptidev <sam@sapti.me> | 2022-06-15 22:06:52 +0200 |
|---|---|---|
| committer | samsaptidev <sam@sapti.me> | 2022-06-16 11:56:24 +0200 |
| commit | 31005595c9681fbcc75d5d933c3cac1300a22e75 (patch) | |
| tree | 5c8012e8a52bcb899b22aa410a1f152521ecc8a6 /docs/conf.py | |
| parent | 36184b2f29187e37061590b40ce404b6a2a20c55 (diff) | |
Add privacypolicy_url option
Diffstat (limited to 'docs/conf.py')
| -rw-r--r-- | docs/conf.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/conf.py b/docs/conf.py index 171e864ed..750464916 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -18,6 +18,7 @@ SEARXNG_URL = get_setting('server.base_url') or 'https://example.org/searxng' ISSUE_URL = get_setting('brand.issue_url') DOCS_URL = get_setting('brand.docs_url') PUBLIC_INSTANCES = get_setting('brand.public_instances') +PRIVACYPOLICY_URL = get_setting('general.privacypolicy_url') CONTACT_URL = get_setting('general.contact_url') WIKI_URL = get_setting('brand.wiki_url') @@ -172,6 +173,8 @@ if PUBLIC_INSTANCES: html_context["project_links"].append(ProjectLink("Public instances", PUBLIC_INSTANCES)) if ISSUE_URL: html_context["project_links"].append(ProjectLink("Issue Tracker", ISSUE_URL)) +if PRIVACYPOLICY_URL: + html_context["project_links"].append(ProjectLink("Privacy Policy", PRIVACYPOLICY_URL)) if CONTACT_URL: html_context["project_links"].append(ProjectLink("Contact", CONTACT_URL)) |