diff --git a/config.toml b/config.toml index f884ad76e..5f39a9c51 100644 --- a/config.toml +++ b/config.toml @@ -1,5 +1,5 @@ # The URL the site will be built for -base_url = "https://threefoldfoundation.github.io/www_threefold_io" +base_url = "www_threefold_io" # Change this to your own URL! Please note this variable **must** be uncommented. title = "ThreeFold" diff --git a/content/header/_index.md b/content/header/_index.md index 052adc1d9..fe8af9eb9 100644 --- a/content/header/_index.md +++ b/content/header/_index.md @@ -3,7 +3,7 @@ title: "Header" insert_anchor_links: "left" template: "partials/header.html" extra: - logoPath: "/images/tft_log.svg" + logoPath: "images/tft_log.svg" button_Path: "/images/gettft_white.png" --- diff --git a/templates/partials/header.html b/templates/partials/header.html index ffb5999b4..f4d8b1645 100644 --- a/templates/partials/header.html +++ b/templates/partials/header.html @@ -1,14 +1,15 @@ {%- set section = get_section(path="header/_index.md") %} {% set header_items = section.content | safe | split(pat="
  • ") %} {% set base = config.base_url %} +{% set logo_path = base ~ section.extra.logoPath %}