diff --git a/src/colab-spb-theme-plugin/colab_spb_theme/templates/footer.html b/src/colab-spb-theme-plugin/colab_spb_theme/templates/footer.html index 34722a5..ed0b6ef 100644 --- a/src/colab-spb-theme-plugin/colab_spb_theme/templates/footer.html +++ b/src/colab-spb-theme-plugin/colab_spb_theme/templates/footer.html @@ -1,4 +1,4 @@ -{% if 'sisp.gov.br' in request.META.HTTP_HOST|stringformat:"s" %} +{% if SISP_HOST in request.META.HTTP_HOST|stringformat:"s" %} {% include 'footer_sisp.html' %} {% else %} {% include 'footer_spb.html' %} diff --git a/src/colab-spb-theme-plugin/colab_spb_theme/templates/header.html b/src/colab-spb-theme-plugin/colab_spb_theme/templates/header.html index 8aabcb5..c93e6bf 100644 --- a/src/colab-spb-theme-plugin/colab_spb_theme/templates/header.html +++ b/src/colab-spb-theme-plugin/colab_spb_theme/templates/header.html @@ -1,4 +1,4 @@ -{% if 'sisp.gov.br' in request.META.HTTP_HOST|stringformat:"s" %} +{% if SISP_URL in request.META.HTTP_HOST|stringformat:"s" %} {% include 'header_sisp.html' %} {% else %} {% include 'header_spb.html' %} -- libgit2 0.21.2