Update baseurl
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
# The URL the site will be built for
|
# 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.
|
# Change this to your own URL! Please note this variable **must** be uncommented.
|
||||||
|
|
||||||
title = "ThreeFold"
|
title = "ThreeFold"
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
{%- set section = get_section(path="header/_index.md") %}
|
{%- set section = get_section(path="header/_index.md") %}
|
||||||
{% set header_items = section.content | safe | split(pat="<li>") %}
|
{% set header_items = section.content | safe | split(pat="<li>") %}
|
||||||
|
{% set base = config.base_url %}
|
||||||
|
|
||||||
<header id="header-container">
|
<header id="header-container">
|
||||||
<div class="z-10 bg-white fixed w-full top-0">
|
<div class="z-10 bg-white fixed w-full top-0">
|
||||||
@@ -38,6 +39,10 @@
|
|||||||
<a href="{{link_path[1]}}" target="_blank" class="text-lg leading-6 font-medium text-gray-900 hover:text-gray-500 focus:outline-none focus:text-gray-900 transition ease-in-out duration-150 mt-0">
|
<a href="{{link_path[1]}}" target="_blank" class="text-lg leading-6 font-medium text-gray-900 hover:text-gray-500 focus:outline-none focus:text-gray-900 transition ease-in-out duration-150 mt-0">
|
||||||
{{link_label}}
|
{{link_label}}
|
||||||
</a>
|
</a>
|
||||||
|
{% elif base is containing("/www_threefold_io/") %}
|
||||||
|
<a href="/www_threefold_io/{{link_path[1]}}" target="_blank" class="text-lg leading-6 font-medium text-gray-900 hover:text-gray-500 focus:outline-none focus:text-gray-900 transition ease-in-out duration-150 mt-0">
|
||||||
|
{{link_label}}
|
||||||
|
</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<a href="{{link_path[1]}}" class="text-lg leading-6 font-medium text-gray-900 hover:text-gray-500 focus:outline-none focus:text-gray-900 transition ease-in-out duration-150 mt-0">
|
<a href="{{link_path[1]}}" class="text-lg leading-6 font-medium text-gray-900 hover:text-gray-500 focus:outline-none focus:text-gray-900 transition ease-in-out duration-150 mt-0">
|
||||||
{{link_label}}
|
{{link_label}}
|
||||||
|
|||||||
Reference in New Issue
Block a user