diff options
Diffstat (limited to 'fatcat_scholar/templates')
-rw-r--r-- | fatcat_scholar/templates/base.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fatcat_scholar/templates/base.html b/fatcat_scholar/templates/base.html index a856016..f651214 100644 --- a/fatcat_scholar/templates/base.html +++ b/fatcat_scholar/templates/base.html @@ -4,6 +4,11 @@ <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="referrer" content="origin-when-cross-origin"> + {% if settings.SCHOLAR_ENV == "prod" -%} + <meta http-equiv="onion-location" content="https://scholar.archivev3qli37bju4rlh27glh24lljyezwxf4pokmrdbpefjlcrp5id.onion"> + {%- elif settings.SCHOLAR_ENV == "qa" -%} + <meta http-equiv="onion-location" content="https://scholar-qa.archivev3qli37bju4rlh27glh24lljyezwxf4pokmrdbpefjlcrp5id.onion"> + {%- endif %} {# no Javascript currently <script> /* |