From f931c67c3f0f51f352961db1c37af5998a332792 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 22 Oct 2020 14:10:41 -0700 Subject: make onion-location header configurable --- fatcat_scholar/templates/base.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'fatcat_scholar/templates') diff --git a/fatcat_scholar/templates/base.html b/fatcat_scholar/templates/base.html index 6302f6f..2ae131d 100644 --- a/fatcat_scholar/templates/base.html +++ b/fatcat_scholar/templates/base.html @@ -4,10 +4,8 @@ - {% if settings.SCHOLAR_ENV == "prod" -%} - - {%- elif settings.SCHOLAR_ENV == "qa" -%} - + {% if settings.ONION_DOMAIN %} + {%- endif %} {%- if settings.SCHOLAR_ENV != "prod" -%}[{{ settings.SCHOLAR_ENV|upper }}] {% endif -%} -- cgit v1.2.3