Commit 396358a0 authored by Markus Willman's avatar Markus Willman

fix git_base_url definition

parent 582890c2
......@@ -28,7 +28,7 @@
{%- set privacy_link = privacy_link | default('//' ~ default_domain ~ '/privacy#privacy') -%}
{%- set cookie_link = cookie_link | default('//' ~ default_domain ~ '/privacy#cookies') -%}
{%- set info_link = info_link | default('//' ~ default_domain ~ '/privacy#open_source') -%}
{%- set git_base_url = (constant('GIT_PUBLIC_URL') is not defined) ? false : (git_base_url | default(constant('GIT_PUBLIC_URL'))) -%}
{%- set git_base_url = (constant('GIT_PUBLIC_URL') is not defined or not git_base_url) ? false : (git_base_url | default(constant('GIT_PUBLIC_URL'))) -%}
<!DOCTYPE html>
<html lang="en">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment