Add dropdown and fix external pages

This commit is contained in:
samaradel
2023-08-20 12:53:03 +03:00
parent 3105020b96
commit 3391f67f04
6 changed files with 83 additions and 39 deletions

View File

@@ -1,7 +1,7 @@
{% extends "_default/base.html" %}
{% block content %}
{% set split = page.content | split(pat="threefold.io") %}
{% set split = page.content | split(pat="ourworld.tf") %}
{% if split | length < 2 %}
{% set content = page.content %}
{% else %}
@@ -25,7 +25,7 @@
{% if loop.first %}
{% set_global content = part %}
{% else %}
{% set_global content = content ~ "threefold.io" ~ part %}
{% set_global content = content ~ "ourworld.tf" ~ part %}
{% endif %}
{% endfor %}
{% endif %}