From 2326facb0883287d08fd74f737c0a5ba72011bc9 Mon Sep 17 00:00:00 2001 From: samaradel Date: Thu, 21 Jul 2022 14:24:58 +0200 Subject: [PATCH] Update baseurl --- config.toml | 2 +- templates/partials/header.html | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/config.toml b/config.toml index 03cfc035f..3d959f824 100644 --- a/config.toml +++ b/config.toml @@ -1,5 +1,5 @@ # The URL the site will be built for -base_url = "https://www3.threefold.io" +base_url = "https://threefoldfoundation.github.io/www_threefold_io/" # Change this to your own URL! Please note this variable **must** be uncommented. title = "ThreeFold" diff --git a/templates/partials/header.html b/templates/partials/header.html index ce47197ee..07c018fd2 100644 --- a/templates/partials/header.html +++ b/templates/partials/header.html @@ -1,5 +1,6 @@ {%- set section = get_section(path="header/_index.md") %} {% set header_items = section.content | safe | split(pat="
  • ") %} +{% set base = config.base_url %}
    @@ -38,6 +39,10 @@ {{link_label}} + {% elif base is containing("/www_threefold_io/") %} + + {{link_label}} + {% else %} {{link_label}}