diff --git a/content/home/_index.md b/content/home/_index.md deleted file mode 100644 index cfc093ee1..000000000 --- a/content/home/_index.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: "WELCOME TO THE" -sort_by: "weight" - -extra: - subtitle: "People’s Internet" - slogan: Join the peer-to-peer revolution - imgPath: new_home_header.jpg - -template: "index.html" ---- -Powered by the ThreeFold blockchain the People’s Internet is the layer 0 infrastructure for an open source P2P Internet owned by humanity. diff --git a/content/home/new_home_header.jpg b/content/home/new_home_header.jpg deleted file mode 100644 index 1dcd64ace..000000000 Binary files a/content/home/new_home_header.jpg and /dev/null differ diff --git a/content/home/partenerships/_index.md b/content/home/partenerships/_index.md deleted file mode 100644 index f56bb7bd8..000000000 --- a/content/home/partenerships/_index.md +++ /dev/null @@ -1,3 +0,0 @@ ---- -transparent: true ---- diff --git a/content/home/partenerships/partner1/become_farmer_new.jpg b/content/home/partenerships/partner1/become_farmer_new.jpg deleted file mode 100644 index 40a4aec61..000000000 Binary files a/content/home/partenerships/partner1/become_farmer_new.jpg and /dev/null differ diff --git a/content/home/partenerships/partner1/index.md b/content/home/partenerships/partner1/index.md deleted file mode 100644 index 255107d7a..000000000 --- a/content/home/partenerships/partner1/index.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: "Expand the People’s Internet" -weight: 1 -extra: - subtitle: "and earn TFT" - button: Become a Farmer - link: /farm - imgPath: become_farmer_new.jpg ---- - -By connecting hardware at your home or office, support the growth of a decentralized Internet and earn a new digital currency, TFT. diff --git a/content/home/partenerships/partner2/index.md b/content/home/partenerships/partner2/index.md deleted file mode 100644 index af8c1786b..000000000 --- a/content/home/partenerships/partner2/index.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: DECENTRALIZE YOUR -weight: 2 -extra: - subtitle: "DATA AND WORKLOADS" - imgPath: network_new.jpg - button: Deploy - link: /cloud ---- - -Companies and developers have already started using ThreeFold for it’s autonomous, decentralization and privacy features. diff --git a/content/home/partenerships/partner2/network_new.jpg b/static/images/network_new.jpg similarity index 100% rename from content/home/partenerships/partner2/network_new.jpg rename to static/images/network_new.jpg diff --git a/templates/_default/base.html b/templates/_default/base.html index bbcecf7c4..65c97ba2c 100644 --- a/templates/_default/base.html +++ b/templates/_default/base.html @@ -26,7 +26,7 @@ -
+
{% block content %}{% endblock %}
diff --git a/templates/index.html b/templates/index.html index 2cc258919..cf15ba53b 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,19 +1,9 @@ {% extends "_default/base.html" %} {% block content %} - +
-
- {% include "partials/header_sec.html" %} - {% include "partials/partnerships.html" %} -
+ {{section.content | safe}} +
{% endblock content %} \ No newline at end of file diff --git a/templates/partials/header_sec.html b/templates/partials/header_sec.html deleted file mode 100644 index 951d1a5d7..000000000 --- a/templates/partials/header_sec.html +++ /dev/null @@ -1,66 +0,0 @@ -{% set home = get_section(path="home/_index.md") %} - - -{% if current_path == '/' %} - -
-
-

- {{ home.title }} - {{ home.extra.subtitle }} -

- -

{{ home.extra.slogan }}

-
{{ home.content | safe }}
- {% if home.extra.button %} - {% if home.extra.link is containing('http')%} - {{ home.extra.button }} - {% else %} - {{ home.extra.button }} - {% endif %} - {% endif %} -
- {% set url = get_url(path='/' ~ home.relative_path | - replace(from='_index.md', to=home.extra.imgPath)) %} - -
- -{% endif %} \ No newline at end of file diff --git a/templates/partials/partnerships.html b/templates/partials/partnerships.html deleted file mode 100644 index 28b89f716..000000000 --- a/templates/partials/partnerships.html +++ /dev/null @@ -1,77 +0,0 @@ -{% set home = get_section(path="home/_index.md") %} - - - -{% if current_path == '/' %} - -
-
-
- {% for page in home.pages %} -
-
-
-

- {{ page.title }} - {{ page.extra.subtitle }} -

-
{{ page.content | safe }}
-
- {% if page.extra.button %} -
- {% if page.extra.button is containing('http') %} - {{ page.extra.button }} - {% else %} - {{ page.extra.button }} - {% endif %} -
- {% endif %} -
- {% set url = get_url(path='/' ~ page.relative_path | - replace(from='index.md', to=page.extra.imgPath)) %} - - -
- {% endfor %} -
-
-
-{% endif %} \ No newline at end of file