From c1c59439eed8a20e8a019d001a8d2804218f2f7c Mon Sep 17 00:00:00 2001 From: Timur Gordon <31495328+timurgordon@users.noreply.github.com> Date: Tue, 26 Mar 2024 09:37:08 -0400 Subject: [PATCH] Delete templates directory --- templates/_default/base.html | 14 - templates/blogPage.html | 82 ------ templates/categories/list.html | 4 - templates/categories/single.html | 14 - templates/index.html | 9 - templates/items/list.html | 4 - templates/items/single.html | 14 - templates/layouts/blog.html | 30 --- templates/layouts/horizontal_section.html | 18 -- templates/layouts/products.html | 30 --- templates/list.html | 14 - templates/macros.html | 28 -- templates/page.html | 16 -- templates/partials/applicationForm.html | 60 ----- templates/partials/blogPosts.html | 70 ----- templates/partials/blogSidebar.html | 38 --- templates/partials/featuredBlog.html | 36 --- templates/partials/featuredProduct.html | 36 --- templates/partials/footer.html | 21 -- templates/partials/head.html | 42 --- templates/partials/header.html | 145 ---------- templates/partials/header_custom.html | 159 ----------- templates/partials/icons/bar-svgrepo-com.svg | 82 ------ templates/partials/icons/code-svgrepo-com.svg | 95 ------- templates/partials/icons/form-svgrepo-com.svg | 67 ----- .../icons/paint-brush-art-svgrepo-com.svg | 79 ------ templates/partials/icons/svgDribbbleIcon.html | 3 - templates/partials/icons/svgFacebookIcon.html | 3 - .../partials/icons/svgFirstPageIcon.html | 1 - templates/partials/icons/svgGithubIcon.html | 3 - .../partials/icons/svgInstagramIcon.html | 3 - templates/partials/icons/svgLastPageIcon.html | 1 - templates/partials/icons/svgNextPageIcon.html | 1 - templates/partials/icons/svgPrevPageIcon.html | 1 - templates/partials/icons/svgTwitterIcon.html | 3 - templates/partials/pageBox.html | 9 - templates/partials/page_list.html | 19 -- templates/partials/postCard.html | 75 ------ templates/partials/productCard.html | 75 ------ templates/partials/productPosts.html | 70 ----- templates/partials/productSidebar.html | 38 --- templates/partials/socialLinks.html | 21 -- templates/partials/tags.html | 5 - templates/positionPage.html | 31 --- templates/productPage.html | 82 ------ templates/roles/list.html | 7 - templates/roles/single.html | 35 --- templates/section.html | 11 - templates/shortcodes/admonition.html | 65 ----- templates/shortcodes/button.html | 5 - templates/shortcodes/earn_sec.html | 56 ---- templates/shortcodes/featured_stories.html | 73 ----- templates/shortcodes/fflow_experiences.html | 52 ---- templates/shortcodes/fflow_grid.html | 52 ---- templates/shortcodes/fflow_skills.html | 95 ------- templates/shortcodes/fflow_twin.html | 53 ---- templates/shortcodes/grid_stats.html | 78 ------ templates/shortcodes/menu.html | 44 --- templates/shortcodes/mermaid.html | 3 - templates/shortcodes/row.html | 250 ------------------ templates/shortcodes/space.html | 8 - templates/shortcodes/team_sec.html | 79 ------ templates/tags/list.html | 7 - templates/tags/single.html | 12 - 64 files changed, 2636 deletions(-) delete mode 100644 templates/_default/base.html delete mode 100644 templates/blogPage.html delete mode 100644 templates/categories/list.html delete mode 100644 templates/categories/single.html delete mode 100644 templates/index.html delete mode 100644 templates/items/list.html delete mode 100644 templates/items/single.html delete mode 100644 templates/layouts/blog.html delete mode 100644 templates/layouts/horizontal_section.html delete mode 100644 templates/layouts/products.html delete mode 100644 templates/list.html delete mode 100644 templates/macros.html delete mode 100644 templates/page.html delete mode 100644 templates/partials/applicationForm.html delete mode 100644 templates/partials/blogPosts.html delete mode 100644 templates/partials/blogSidebar.html delete mode 100644 templates/partials/featuredBlog.html delete mode 100644 templates/partials/featuredProduct.html delete mode 100644 templates/partials/footer.html delete mode 100644 templates/partials/head.html delete mode 100644 templates/partials/header.html delete mode 100644 templates/partials/header_custom.html delete mode 100644 templates/partials/icons/bar-svgrepo-com.svg delete mode 100644 templates/partials/icons/code-svgrepo-com.svg delete mode 100644 templates/partials/icons/form-svgrepo-com.svg delete mode 100644 templates/partials/icons/paint-brush-art-svgrepo-com.svg delete mode 100644 templates/partials/icons/svgDribbbleIcon.html delete mode 100644 templates/partials/icons/svgFacebookIcon.html delete mode 100644 templates/partials/icons/svgFirstPageIcon.html delete mode 100644 templates/partials/icons/svgGithubIcon.html delete mode 100644 templates/partials/icons/svgInstagramIcon.html delete mode 100644 templates/partials/icons/svgLastPageIcon.html delete mode 100644 templates/partials/icons/svgNextPageIcon.html delete mode 100644 templates/partials/icons/svgPrevPageIcon.html delete mode 100644 templates/partials/icons/svgTwitterIcon.html delete mode 100644 templates/partials/pageBox.html delete mode 100644 templates/partials/page_list.html delete mode 100644 templates/partials/postCard.html delete mode 100644 templates/partials/productCard.html delete mode 100644 templates/partials/productPosts.html delete mode 100644 templates/partials/productSidebar.html delete mode 100644 templates/partials/socialLinks.html delete mode 100644 templates/partials/tags.html delete mode 100644 templates/positionPage.html delete mode 100644 templates/productPage.html delete mode 100644 templates/roles/list.html delete mode 100644 templates/roles/single.html delete mode 100644 templates/section.html delete mode 100644 templates/shortcodes/admonition.html delete mode 100644 templates/shortcodes/button.html delete mode 100644 templates/shortcodes/earn_sec.html delete mode 100644 templates/shortcodes/featured_stories.html delete mode 100644 templates/shortcodes/fflow_experiences.html delete mode 100644 templates/shortcodes/fflow_grid.html delete mode 100644 templates/shortcodes/fflow_skills.html delete mode 100644 templates/shortcodes/fflow_twin.html delete mode 100644 templates/shortcodes/grid_stats.html delete mode 100644 templates/shortcodes/menu.html delete mode 100644 templates/shortcodes/mermaid.html delete mode 100644 templates/shortcodes/row.html delete mode 100644 templates/shortcodes/space.html delete mode 100644 templates/shortcodes/team_sec.html delete mode 100644 templates/tags/list.html delete mode 100644 templates/tags/single.html diff --git a/templates/_default/base.html b/templates/_default/base.html deleted file mode 100644 index ffbc538..0000000 --- a/templates/_default/base.html +++ /dev/null @@ -1,14 +0,0 @@ - - - - {% include "partials/head.html" %} - - - {% include "partials/header.html" %} -
- {% block content %}{% endblock %} -
- {% include "partials/footer.html" %} - - - \ No newline at end of file diff --git a/templates/blogPage.html b/templates/blogPage.html deleted file mode 100644 index e5decb9..0000000 --- a/templates/blogPage.html +++ /dev/null @@ -1,82 +0,0 @@ -{% extends "_default/base.html" %} -{% block content %} - -{% if page.taxonomies.people %} -{% set people = get_section(path="people/_index.md") %} -{% set pages_str = people.pages | json_encode() | as_str %} -{% if pages_str is containing(page.taxonomies.people[0]) %} -{% set author_path = 'people/' ~ page.taxonomies.people[0] ~ '/index.md' %} -{% set author = get_page(path=author_path) %} -{% endif %} -{% endif %} - - - -{% set split = page.content | split(pat="threefold.io") %} -{% if split | length < 2 %} {% set content=page.content %} {% else %} {% set content="" %} {% for part in split %} {% if - part is starting_with("/blog") %} {% set split_part=part | split(pat='/">' ) %} {% set link=split_part[0] %} {% set - link=link | replace(from="/blog/post" , to="/blog" ) %} {% set link=link | replace(from="_" , to="-" ) %} {% set - rest_part=split_part | slice(start=1) | join(sep='/"' ) %} {% set part=link ~ '/">' ~ rest_part %} {% endif %} {% if - loop.first %} {% set_global content=part%} {% else %} {% set_global content=content ~ "threefold.io" ~ part%} {% endif - %} {% endfor %} {% endif %}
- -
- -
-
-

- {{ page.title }} -

- -

- {{ page.description }} -

- - {% set img_url = get_url(path='/' ~ page.relative_path | replace(from='_', to='-') | replace(from='index.md', - to=page.extra.imgPath)) %} - {{page.title ~ 'Picture'}} -
{{ content | safe }}
-
-
- - -
-
- - {% endblock content %} \ No newline at end of file diff --git a/templates/categories/list.html b/templates/categories/list.html deleted file mode 100644 index f628a84..0000000 --- a/templates/categories/list.html +++ /dev/null @@ -1,4 +0,0 @@ -{% extends "index.html" %} - -{% block content %} -{% endblock content %} \ No newline at end of file diff --git a/templates/categories/single.html b/templates/categories/single.html deleted file mode 100644 index c579447..0000000 --- a/templates/categories/single.html +++ /dev/null @@ -1,14 +0,0 @@ -{% extends "index.html" %} - -{% block content %} - -
- -
- {% include "partials/blogPosts.html" %} - {% include "partials/blogSidebar.html" %} -
-
- - {% endblock content %} - diff --git a/templates/index.html b/templates/index.html deleted file mode 100644 index 46cf58c..0000000 --- a/templates/index.html +++ /dev/null @@ -1,9 +0,0 @@ -{% extends "_default/base.html" %} -{% block content %} - - -
- {% set page = get_page(path="home/index.md") %} - {{page.content | safe}} -
-{% endblock content %} \ No newline at end of file diff --git a/templates/items/list.html b/templates/items/list.html deleted file mode 100644 index f628a84..0000000 --- a/templates/items/list.html +++ /dev/null @@ -1,4 +0,0 @@ -{% extends "index.html" %} - -{% block content %} -{% endblock content %} \ No newline at end of file diff --git a/templates/items/single.html b/templates/items/single.html deleted file mode 100644 index 19f29a1..0000000 --- a/templates/items/single.html +++ /dev/null @@ -1,14 +0,0 @@ -{% extends "index.html" %} - -{% block content %} - -
- -
- {% include "partials/productPosts.html" %} - {% include "partials/productSidebar.html" %} -
-
- - {% endblock content %} - diff --git a/templates/layouts/blog.html b/templates/layouts/blog.html deleted file mode 100644 index 62c113a..0000000 --- a/templates/layouts/blog.html +++ /dev/null @@ -1,30 +0,0 @@ -{% extends "_default/base.html" %} - - -{% block content %} - -
- - - {%- set section = get_section(path="blog/_index.md") %} - {% for page in section.pages %} - {% if page.extra.isFeatured %} - {%- set_global featured = page %} - {% break %} - {% endif %} - {% endfor %} - - {% include "partials/featuredBlog.html" %} - -
- {% include "partials/blogPosts.html" %} - {% include "partials/blogSidebar.html" %} -
-
- - {% endblock content %} diff --git a/templates/layouts/horizontal_section.html b/templates/layouts/horizontal_section.html deleted file mode 100644 index ca84bf8..0000000 --- a/templates/layouts/horizontal_section.html +++ /dev/null @@ -1,18 +0,0 @@ -{% extends "_default/base.html" %} -{% import "macros.html" as macros %} - -{% block content %} - -
-
-
- {{ section.content | safe}} -
-
- {{ macros::page_list(item_type="page-box", group=false) }} -
-
-
-
- -{% endblock content %} diff --git a/templates/layouts/products.html b/templates/layouts/products.html deleted file mode 100644 index 5d881c0..0000000 --- a/templates/layouts/products.html +++ /dev/null @@ -1,30 +0,0 @@ -{% extends "_default/base.html" %} - - -{% block content %} - -
- - - {%- set section = get_section(path="products/_index.md") %} - {% for page in section.pages %} - {% if page.extra.isFeatured %} - {%- set_global featured = page %} - {% break %} - {% endif %} - {% endfor %} - - {% include "partials/featuredProduct.html" %} - -
- {% include "partials/productPosts.html" %} - {% include "partials/productSidebar.html" %} -
-
- - {% endblock content %} diff --git a/templates/list.html b/templates/list.html deleted file mode 100644 index 56e8399..0000000 --- a/templates/list.html +++ /dev/null @@ -1,14 +0,0 @@ -{% extends "_default/base.html" %} -{% block content %} - - -

- {{ section.title }} -

- -

This comes from /templates/_default/list.html.

-{% endblock content %} \ No newline at end of file diff --git a/templates/macros.html b/templates/macros.html deleted file mode 100644 index c349733..0000000 --- a/templates/macros.html +++ /dev/null @@ -1,28 +0,0 @@ -{% macro page_list(type="text") %} -
- {% if section.extra.group_pages_by %} -
- {% set taxonomy = get_taxonomy(kind=section.extra.group_pages_by) %} - {% set roles = taxonomy.items %} - {% for role in roles %} -
- {% set icon_path = config.extra.taxonomies["roles"][role.name].icon_path | as_str %} - role category icon - {% set path = role.name | slugify %} - {% set fullpath = "/roles/" ~ path %} - {{role.name}} - {% for page in role.pages %} - {% include "partials/pageBox.html"%} - {% endfor %} -
- {% endfor %} -
- {% else %} - {% for page in section.pages %} - {{page}} - {% include "partials/pageBox.html"%} - {% endfor %} - {% endif %} -{% endmacro page_list %} - - diff --git a/templates/page.html b/templates/page.html deleted file mode 100644 index 2ad741b..0000000 --- a/templates/page.html +++ /dev/null @@ -1,16 +0,0 @@ -{% extends "_default/base.html" %} - -{% block content %} - -
- - -
- {% if page %} - {{page.content | safe}} - {% else %} - {{section.content | safe}} - {% endif %} -
- -
{% endblock content %} diff --git a/templates/partials/applicationForm.html b/templates/partials/applicationForm.html deleted file mode 100644 index c2b84c9..0000000 --- a/templates/partials/applicationForm.html +++ /dev/null @@ -1,60 +0,0 @@ -
-
-
-
-

Application

-
-
- -
- http:// - -
-
-
- -
- -
- -
-

Brief description for your profile. URLs are hyperlinked.

-
- -
- -
- - - - - - -
-
- -
- -
-
- -
- -

or drag and drop

-
-

PDF up to 10MB

-
-
-
-
-
- -
-
-
-
\ No newline at end of file diff --git a/templates/partials/blogPosts.html b/templates/partials/blogPosts.html deleted file mode 100644 index f220970..0000000 --- a/templates/partials/blogPosts.html +++ /dev/null @@ -1,70 +0,0 @@ -{% block content %} - -
-

- {% set path_array = current_path | split(pat="/") %} - {% set taxonomy = path_array[1] %} - {% set category = path_array[2] %} - The Latest from OurPhone - {% if taxonomy == "categories" %} - - {{category | replace(from='-', to=' ' ) | title}} - {% endif %} -

-
-
- {%- for post in paginator.pages %} - {% if not post.extra.hidden %} - {% include "partials/postCard.html" %} - {%endif%} {%- endfor %} -
-
-

- {% if paginator.previous %} - {% include "partials/icons/svgPrevPageIcon.html" %}{% include - "partials/icons/svgPrevPageIcon.html" %} -           - {% include "partials/icons/svgPrevPageIcon.html" %} -           -           {% else %} {% - include "partials/icons/svgFirstPageIcon.html" %}{% include - "partials/icons/svgFirstPageIcon.html" %} -           {% include - "partials/icons/svgFirstPageIcon.html" %} -           -           {% endif %} {% if - paginator.next %} - {% include "partials/icons/svgNextPageIcon.html" %} -           - {% include "partials/icons/svgNextPageIcon.html" %}{% include - "partials/icons/svgNextPageIcon.html" %} - {% else %} {% include "partials/icons/svgLastPageIcon.html" %} -           {% include - "partials/icons/svgLastPageIcon.html" %}{% include - "partials/icons/svgLastPageIcon.html" %} {% endif %} -

-
-
- -{% endblock content %} \ No newline at end of file diff --git a/templates/partials/blogSidebar.html b/templates/partials/blogSidebar.html deleted file mode 100644 index 7c910c7..0000000 --- a/templates/partials/blogSidebar.html +++ /dev/null @@ -1,38 +0,0 @@ - -
-
-

FILTER POSTS BY

- All - {% set taxonomy = get_taxonomy(kind="categories") %} - {% set categories = taxonomy.items %} - {% for category in categories %} - {% set path = category.name | slugify %} - {% set fullpath = "/categories/" ~ path %} - {{category.name}} - {% endfor %} -
- -{% set section = get_section(path="blog/_index.md")%} - -
-

FEATURED POSTS

- - {% for page in section.pages %} - {% if page.extra.isFeatured %} - {{ page.title }} - {% endif %} - {% endfor %} - -
-
- - \ No newline at end of file diff --git a/templates/partials/featuredBlog.html b/templates/partials/featuredBlog.html deleted file mode 100644 index 26731ef..0000000 --- a/templates/partials/featuredBlog.html +++ /dev/null @@ -1,36 +0,0 @@ -{% if featured.taxonomies.people %} - {% set people = get_section(path="people/_index.md") %} - {% set pages_str = people.pages | json_encode() | as_str %} - {% if pages_str is containing(featured.taxonomies.people[0]) %} - {% set author_path = 'people/' ~ featured.taxonomies.people[0] ~ '/index.md' %} - {% set author = get_page(path=author_path) %} - {% endif %} -{% endif %} - - - -
-
-

FEATURED POST

- -

- {{ featured.title }} -

-
-

- {{ featured.date | date(format="%B %e, %Y", timezone="America/Chicago")}} - -

- -
- -
- -
-
- -
- - - - \ No newline at end of file diff --git a/templates/partials/featuredProduct.html b/templates/partials/featuredProduct.html deleted file mode 100644 index 63b09ca..0000000 --- a/templates/partials/featuredProduct.html +++ /dev/null @@ -1,36 +0,0 @@ -{% if featured.taxonomies.people %} - {% set people = get_section(path="people/_index.md") %} - {% set pages_str = people.pages | json_encode() | as_str %} - {% if pages_str is containing(featured.taxonomies.people[0]) %} - {% set author_path = 'people/' ~ featured.taxonomies.people[0] ~ '/index.md' %} - {% set author = get_page(path=author_path) %} - {% endif %} -{% endif %} - - - -
-
-

FEATURED PRODUCT

- -

- {{ featured.title }} -

-
-

- {{ featured.date | date(format="%B %e, %Y", timezone="America/Chicago")}} - -

- -
- -
- -
-
- -
- - - - \ No newline at end of file diff --git a/templates/partials/footer.html b/templates/partials/footer.html deleted file mode 100644 index 22ead61..0000000 --- a/templates/partials/footer.html +++ /dev/null @@ -1,21 +0,0 @@ - - -{%- set section = get_section(path="_index.md") %} - -{% set subsections_str = section.subsections | join(sep=" ") %} - - \ No newline at end of file diff --git a/templates/partials/head.html b/templates/partials/head.html deleted file mode 100644 index 6b851ff..0000000 --- a/templates/partials/head.html +++ /dev/null @@ -1,42 +0,0 @@ -{% set cloudiBase = 'https://res.cloudinary.com/brycewray-com/image/upload/' %} -{% set xFmPart1 = 'f_auto,q_auto:eco,w_' %} -{% set xFmPart2 = ',x_0,z_1/' %} -{% set fallbackImg = 'typewriter-monochrome_2242164_6260x4374.jpg' %} -{% set zolaVer = '0.13.0' %} - - - - - - {% block title %} - {% if current_path == '/' %} - {{ config.title }} - - {% else %} - {% if section.title %}{{ section.title }} • {% endif %}{% if page.title %}{{ page.title }} • {% endif %}{{ config.title }} - - {% endif %} - {% endblock title %} - - - - - - - - - - - - - - - - - - - - - - - diff --git a/templates/partials/header.html b/templates/partials/header.html deleted file mode 100644 index 94fd1f3..0000000 --- a/templates/partials/header.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - -{% set section = get_section(path="_index.md") %} -{% set subsections_str = section.subsections | join(sep=" ") %} -{% set logo_path = get_url(path=section.extra.logo_path | default(value='')) %} - -{% if "header/_index.md" in subsections_str %} - {% set section = get_section(path="header/_index.md") %} - {% set header_items = section.content | safe | split(pat="
  • ") %} - {% include "partials/header_custom.html" %} -{% else %} -
    - {% set header_class = config.extra.header_class | default(value='') %} -
    -
    -
    -
    - - Logo - -
    -
    - - -
    - -
    -
    - {% for subsection in section.subsections %} - {% if subsection == "footer/_index.md" %} {% continue %} {% endif %} - {% set submenu_id = subsection ~ "-menu" | slugify %} - - - - {% endfor %} - - - - - - -
    - -{% endif %} - - diff --git a/templates/partials/header_custom.html b/templates/partials/header_custom.html deleted file mode 100644 index c08242d..0000000 --- a/templates/partials/header_custom.html +++ /dev/null @@ -1,159 +0,0 @@ - - -{%- set section = get_section(path="header/_index.md") %} -{% set header_items = section.content | safe | split(pat="
  • ") %} - -
    -
    -
    -
    -
    - - Ourworld Logo - -
    -
    - - -
    -
  • ") %} - {% set header_label = header_arr[0] %} - {% if ' - {{link_label}} - - {% else %} - - {{link_label}} - - {% endif %} - {% else %} -
    - {% set button_id = header_label ~ "-menu-btn" | slugify %} - -
    - - {% endif %} -{% endif %} -{% endfor %} - - - - - - -{% for header_item in header_items %} -{% if not loop.first %} - {% set header_arr = header_item | split(pat="") %} - {% set header_label = header_arr[0] %} - {% set header_menu = header_arr[1] %} - {% set menu_id = header_label ~ "-menu" | slugify %} - - - - -{% endif %} -{% endfor %} - - - - - - - diff --git a/templates/partials/icons/bar-svgrepo-com.svg b/templates/partials/icons/bar-svgrepo-com.svg deleted file mode 100644 index 07ac56d..0000000 --- a/templates/partials/icons/bar-svgrepo-com.svg +++ /dev/null @@ -1,82 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/templates/partials/icons/code-svgrepo-com.svg b/templates/partials/icons/code-svgrepo-com.svg deleted file mode 100644 index 6be0cd8..0000000 --- a/templates/partials/icons/code-svgrepo-com.svg +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/templates/partials/icons/form-svgrepo-com.svg b/templates/partials/icons/form-svgrepo-com.svg deleted file mode 100644 index 1da4268..0000000 --- a/templates/partials/icons/form-svgrepo-com.svg +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/templates/partials/icons/paint-brush-art-svgrepo-com.svg b/templates/partials/icons/paint-brush-art-svgrepo-com.svg deleted file mode 100644 index f8ed55a..0000000 --- a/templates/partials/icons/paint-brush-art-svgrepo-com.svg +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/templates/partials/icons/svgDribbbleIcon.html b/templates/partials/icons/svgDribbbleIcon.html deleted file mode 100644 index 2e94586..0000000 --- a/templates/partials/icons/svgDribbbleIcon.html +++ /dev/null @@ -1,3 +0,0 @@ - \ No newline at end of file diff --git a/templates/partials/icons/svgFacebookIcon.html b/templates/partials/icons/svgFacebookIcon.html deleted file mode 100644 index 81c97e7..0000000 --- a/templates/partials/icons/svgFacebookIcon.html +++ /dev/null @@ -1,3 +0,0 @@ - \ No newline at end of file diff --git a/templates/partials/icons/svgFirstPageIcon.html b/templates/partials/icons/svgFirstPageIcon.html deleted file mode 100644 index 00e6d61..0000000 --- a/templates/partials/icons/svgFirstPageIcon.html +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/templates/partials/icons/svgGithubIcon.html b/templates/partials/icons/svgGithubIcon.html deleted file mode 100644 index bedea77..0000000 --- a/templates/partials/icons/svgGithubIcon.html +++ /dev/null @@ -1,3 +0,0 @@ - \ No newline at end of file diff --git a/templates/partials/icons/svgInstagramIcon.html b/templates/partials/icons/svgInstagramIcon.html deleted file mode 100644 index 913e2cb..0000000 --- a/templates/partials/icons/svgInstagramIcon.html +++ /dev/null @@ -1,3 +0,0 @@ - \ No newline at end of file diff --git a/templates/partials/icons/svgLastPageIcon.html b/templates/partials/icons/svgLastPageIcon.html deleted file mode 100644 index ca9be49..0000000 --- a/templates/partials/icons/svgLastPageIcon.html +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/templates/partials/icons/svgNextPageIcon.html b/templates/partials/icons/svgNextPageIcon.html deleted file mode 100644 index b4b67a5..0000000 --- a/templates/partials/icons/svgNextPageIcon.html +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/templates/partials/icons/svgPrevPageIcon.html b/templates/partials/icons/svgPrevPageIcon.html deleted file mode 100644 index e2ae89b..0000000 --- a/templates/partials/icons/svgPrevPageIcon.html +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/templates/partials/icons/svgTwitterIcon.html b/templates/partials/icons/svgTwitterIcon.html deleted file mode 100644 index 63a0eb2..0000000 --- a/templates/partials/icons/svgTwitterIcon.html +++ /dev/null @@ -1,3 +0,0 @@ - \ No newline at end of file diff --git a/templates/partials/pageBox.html b/templates/partials/pageBox.html deleted file mode 100644 index f44fee4..0000000 --- a/templates/partials/pageBox.html +++ /dev/null @@ -1,9 +0,0 @@ -
    - - {{page.title | safe}} - - {% include "partials/categories.html" %} -

    - {{page.description | safe}} -

    -
    \ No newline at end of file diff --git a/templates/partials/page_list.html b/templates/partials/page_list.html deleted file mode 100644 index b773a04..0000000 --- a/templates/partials/page_list.html +++ /dev/null @@ -1,19 +0,0 @@ -
    -{% if section.extra.group_pages_by %} -
    - {% set taxonomy = get_taxonomy(kind=section.extra.group_pages_by) %} - {% set roles = taxonomy.items %} - {% for role in roles %} -
    - {% set icon_path = config.extra.taxonomies["roles"][role.name].icon_path | as_str %} - role category icon - {% set path = role.name | slugify %} - {% set fullpath = "/roles/" ~ path %} - {{role.name}} - {% for page in role.pages %} - {% include "partials/pageBox.html"%} - {% endfor %} -
    - {% endfor %} -
    -{% endif %} \ No newline at end of file diff --git a/templates/partials/postCard.html b/templates/partials/postCard.html deleted file mode 100644 index b70123c..0000000 --- a/templates/partials/postCard.html +++ /dev/null @@ -1,75 +0,0 @@ -{% if post.date %} -{% if post.taxonomies.people %} -{% set people = get_section(path="people/_index.md") %} -{% set pages_str = people.pages | json_encode() | as_str %} -{% if pages_str is containing(post.taxonomies.people[0]) %} -{% set author_path = 'people/' ~ post.taxonomies.people[0] ~ '/index.md' %} -{% set author = get_page(path=author_path) %} -{% set content = get_page(path=author_path) %} -{% endif %} -{% endif %} - -
    - -
    - - -{% endif %} \ No newline at end of file diff --git a/templates/partials/productCard.html b/templates/partials/productCard.html deleted file mode 100644 index b70123c..0000000 --- a/templates/partials/productCard.html +++ /dev/null @@ -1,75 +0,0 @@ -{% if post.date %} -{% if post.taxonomies.people %} -{% set people = get_section(path="people/_index.md") %} -{% set pages_str = people.pages | json_encode() | as_str %} -{% if pages_str is containing(post.taxonomies.people[0]) %} -{% set author_path = 'people/' ~ post.taxonomies.people[0] ~ '/index.md' %} -{% set author = get_page(path=author_path) %} -{% set content = get_page(path=author_path) %} -{% endif %} -{% endif %} - -
    - -
    - - -{% endif %} \ No newline at end of file diff --git a/templates/partials/productPosts.html b/templates/partials/productPosts.html deleted file mode 100644 index 862f041..0000000 --- a/templates/partials/productPosts.html +++ /dev/null @@ -1,70 +0,0 @@ -{% block content %} - -
    -

    - {% set path_array = current_path | split(pat="/") %} - {% set taxonomy = path_array[1] %} - {% set item = path_array[2] %} - The Latest from OurPhone - {% if taxonomy == "items" %} - - {{item | replace(from='-', to=' ' ) | title}} - {% endif %} -

    -
    -
    - {%- for post in paginator.pages %} - {% if not post.extra.hidden %} - {% include "partials/productCard.html" %} - {%endif%} {%- endfor %} -
    -
    -

    - {% if paginator.previous %} - {% include "partials/icons/svgPrevPageIcon.html" %}{% include - "partials/icons/svgPrevPageIcon.html" %} -           - {% include "partials/icons/svgPrevPageIcon.html" %} -           -           {% else %} {% - include "partials/icons/svgFirstPageIcon.html" %}{% include - "partials/icons/svgFirstPageIcon.html" %} -           {% include - "partials/icons/svgFirstPageIcon.html" %} -           -           {% endif %} {% if - paginator.next %} - {% include "partials/icons/svgNextPageIcon.html" %} -           - {% include "partials/icons/svgNextPageIcon.html" %}{% include - "partials/icons/svgNextPageIcon.html" %} - {% else %} {% include "partials/icons/svgLastPageIcon.html" %} -           {% include - "partials/icons/svgLastPageIcon.html" %}{% include - "partials/icons/svgLastPageIcon.html" %} {% endif %} -

    -
    -
    - -{% endblock content %} \ No newline at end of file diff --git a/templates/partials/productSidebar.html b/templates/partials/productSidebar.html deleted file mode 100644 index e450ad7..0000000 --- a/templates/partials/productSidebar.html +++ /dev/null @@ -1,38 +0,0 @@ - -
    -
    -

    FILTER PRODUCTS BY

    - All - {% set taxonomy = get_taxonomy(kind="items") %} - {% set items = taxonomy.items %} - {% for item in items %} - {% set path = item.name | slugify %} - {% set fullpath = "/items/" ~ path %} - {{item.name}} - {% endfor %} -
    - -{% set section = get_section(path="products/_index.md")%} - -
    -

    FEATURED POSTS

    - - {% for page in section.pages %} - {% if page.extra.isFeatured %} - {{ page.title }} - {% endif %} - {% endfor %} - -
    -
    - - \ No newline at end of file diff --git a/templates/partials/socialLinks.html b/templates/partials/socialLinks.html deleted file mode 100644 index 325f023..0000000 --- a/templates/partials/socialLinks.html +++ /dev/null @@ -1,21 +0,0 @@ -
    - {% for key, link in section.extra.socialLinks %} - - - {{key}} - {% if key == "Facebook" %} - {% include "partials/icons/svgFacebookIcon.html" %} - {% elif key == "Github" %} - {% include "partials/icons/svgGithubIcon.html" %} - {% elif key == "Instagram" %} - {% include "partials/icons/svgInstagramIcon.html" %} - {% elif key == "Twitter" %} - {% include "partials/icons/svgTwitterIcon.html" %} - {% elif key == "Dribbble" %} - {% include "partials/icons/svgDribbbleIcon.html" %} - {% endif %} - - - {% endfor %} - -
    \ No newline at end of file diff --git a/templates/partials/tags.html b/templates/partials/tags.html deleted file mode 100644 index 5db604a..0000000 --- a/templates/partials/tags.html +++ /dev/null @@ -1,5 +0,0 @@ -
    - {% for tag in page.taxonomies.categories %} -
    {{tag}}
    - {% endfor %} -
    \ No newline at end of file diff --git a/templates/positionPage.html b/templates/positionPage.html deleted file mode 100644 index ee8059d..0000000 --- a/templates/positionPage.html +++ /dev/null @@ -1,31 +0,0 @@ -{% extends "_default/base.html" %} -{% block content %} - - -
    - -{% set banner_path = config.extra.taxonomies["roles"][page.taxonomies.roles[0]].banner_path | as_str %} -{% set styles = "background: url('/" ~ banner_path ~ "'); background-size: cover; background-position: center" %} - -
    -
    -
    -
    -

    Our World

    -

    - {{ page.title }} -

    -

    {{page.description}}

    - {% include "partials/categories.html" %} -
    - {{ page.content | safe }} -
    -
    - {% include "partials/applicationForm.html"%} -
    -
    - - -
    - -{% endblock content %} \ No newline at end of file diff --git a/templates/productPage.html b/templates/productPage.html deleted file mode 100644 index e93e750..0000000 --- a/templates/productPage.html +++ /dev/null @@ -1,82 +0,0 @@ -{% extends "_default/base.html" %} -{% block content %} - -{% if page.taxonomies.people %} -{% set people = get_section(path="people/_index.md") %} -{% set pages_str = people.pages | json_encode() | as_str %} -{% if pages_str is containing(page.taxonomies.people[0]) %} -{% set author_path = 'people/' ~ page.taxonomies.people[0] ~ '/index.md' %} -{% set author = get_page(path=author_path) %} -{% endif %} -{% endif %} - - - -{% set split = page.content | split(pat="ourphone.tf") %} -{% if split | length < 2 %} {% set content=page.content %} {% else %} {% set content="" %} {% for part in split %} {% if - part is starting_with("/product") %} {% set split_part=part | split(pat='/">' ) %} {% set link=split_part[0] %} {% set - link=link | replace(from="/product/post" , to="/product" ) %} {% set link=link | replace(from="_" , to="-" ) %} {% set - rest_part=split_part | slice(start=1) | join(sep='/"' ) %} {% set part=link ~ '/">' ~ rest_part %} {% endif %} {% if - loop.first %} {% set_global content=part%} {% else %} {% set_global content=content ~ "ourphone.tf" ~ part%} {% endif - %} {% endfor %} {% endif %}
    - -
    - -
    -
    -

    - {{ page.title }} -

    - -

    - {{ page.description }} -

    - - {% set img_url = get_url(path='/' ~ page.relative_path | replace(from='_', to='-') | replace(from='index.md', - to=page.extra.imgPath)) %} - {{page.title ~ 'Picture'}} -
    {{ content | safe }}
    -
    -
    - - -
    -
    - - {% endblock content %} \ No newline at end of file diff --git a/templates/roles/list.html b/templates/roles/list.html deleted file mode 100644 index 7330b1f..0000000 --- a/templates/roles/list.html +++ /dev/null @@ -1,7 +0,0 @@ -{% extends "index.html" %} - -{% block content %} - -{{ terms }} - -{% endblock content %} diff --git a/templates/roles/single.html b/templates/roles/single.html deleted file mode 100644 index f089d8c..0000000 --- a/templates/roles/single.html +++ /dev/null @@ -1,35 +0,0 @@ -{% extends "index.html" %} - -{% block content %} - - -
    - -{% set banner_path = config.extra.taxonomies["roles"][term.name].banner_path | as_str %} -{% set styles = "background: url('/" ~ banner_path ~ "'); background-size: cover; background-position: center" %} - -
    -
    -
    -
    -

    Our World

    -

    - {{ config.extra.taxonomies["roles"][term.name].title }} -

    -

    {{config.extra.taxonomies["roles"][term.name].description}}

    -
    -
    -

    {{term.name}} @ Ourworld

    - {% for page in term.pages %} - {% include "partials/pageBox.html"%} - {% endfor %} -
    -
    - {% include "partials/applicationForm.html"%} -
    -
    - - -
    - -{% endblock content %} \ No newline at end of file diff --git a/templates/section.html b/templates/section.html deleted file mode 100644 index e328616..0000000 --- a/templates/section.html +++ /dev/null @@ -1,11 +0,0 @@ -{% extends "_default/base.html" %} - -{% block content %} - -
    - {{ section.content | safe}} - - {% include "partials/page_list.html" %} -
    - - {% endblock content %} diff --git a/templates/shortcodes/admonition.html b/templates/shortcodes/admonition.html deleted file mode 100644 index 0fff67e..0000000 --- a/templates/shortcodes/admonition.html +++ /dev/null @@ -1,65 +0,0 @@ - - -{% set classes = "" %} - -{% set first_line = body | split(pat="\n") | first %} -{% set parsed_first_line = first_line | split(pat=" ") %} -{% set admonition = parsed_first_line | first %} -{% set style = "" %} - -{% set content = body | split(pat="\n") | slice(start=2) | join(sep="\n") %} - - -{% if admonition == "!!!" %} - {% set classes = "admonition" %} -{% elif admonition == "???" %} - {% set style = "collapsible closed" %} - {% set classes = "admonition" %} -{% elif admonition == "???+" %} - {% set style = "collapsible open" %} - {% set classes = "admonition" %} -{% else %} - {% set classes = "hidden" %} -{% endif %} - -{% if "inline end" in first_line %} - {% set classes = classes ~ " inline end" %} - {% set parsed_first_line = parsed_first_line | slice(end=-2)%} -{% elif "inline" in first_line %} - {% set classes = classes ~ " inline" %} - {% set parsed_first_line = parsed_first_line | slice(end=-1)%} -{% endif %} - -{% if classes != "hidden"%} - {% if parsed_first_line[1] %} - {% set classes = classes ~ " " ~ parsed_first_line[1] %} - {% endif %} - {% if parsed_first_line[2] %} - {% if not parsed_first_line[2] == '""' %} - {% set title = parsed_first_line | slice(start=2) | join(sep=" ") %} - {% endif %} - {% else %} - {% if parsed_first_line[1] %} - {% set title = parsed_first_line[1] | title %} - {% endif %} - {% endif %} -{% endif %} - - -{% if "collapsible" in style %} -
    - {% if title %} - {{ title | trim_start_matches(pat='"') | trim_end_matches(pat='"') }} -

    {{ content }}

    - {% endif %} -
    -{% else %} -
    - {% if title %} -
    {{ title | trim_start_matches(pat='"') | trim_end_matches(pat='"') }}
    - {% endif %} -

    {{ content }}

    -
    -{% endif %} diff --git a/templates/shortcodes/button.html b/templates/shortcodes/button.html deleted file mode 100644 index 56519cd..0000000 --- a/templates/shortcodes/button.html +++ /dev/null @@ -1,5 +0,0 @@ - -{% set path = body | split(pat="href=") | slice(start=1) | first | split(pat=">") | first | trim_start_matches(pat='"') | trim_end_matches(pat='"') %} - \ No newline at end of file diff --git a/templates/shortcodes/earn_sec.html b/templates/shortcodes/earn_sec.html deleted file mode 100644 index cc85fae..0000000 --- a/templates/shortcodes/earn_sec.html +++ /dev/null @@ -1,56 +0,0 @@ - -
    -
    -
    - -
    -
    - -
    -
    -
    -
    All you need to get started is - electricity, a network connection, and a FreeFlow Node
    -
    -
    -
    - -
    -
    - -
    -
    -
    -
    Provide decentralized storage and - compute capacity to host your communities digital life while maintaining privacy.
    -
    -
    -
    - - -
    -
    - -
    -
    -
    -
    Earn in the most valuable and - rapidly growing economy: the Internet and cloud
    -
    -
    -
    -
    -
    - -
    -
    \ No newline at end of file diff --git a/templates/shortcodes/featured_stories.html b/templates/shortcodes/featured_stories.html deleted file mode 100644 index 7ec1e0f..0000000 --- a/templates/shortcodes/featured_stories.html +++ /dev/null @@ -1,73 +0,0 @@ - - -
    -
    -
    -
    -
    -
    - -
    -
    - -
    -
    -
    -

    - get a node and
    start earning -

    -
    Get a FreeFlow Node and add capacity to - the FreeFlow Network.
    - -
    -
    -
    - -
    -
    - -
    -
    -
    -

    - GET THE
    FREEFLOW TWIN -

    -
    Reserve your sovereign digital twin.
    Take control over your digital life.
    - -
    -
    -
    - - -
    -
    - -
    -
    -
    -

    - ACQUIRE
    CHI -

    -
    The digital energy currency - of
    the FreeFlow network `CHI token`
    - -
    -
    -
    -
    -
    -
    \ No newline at end of file diff --git a/templates/shortcodes/fflow_experiences.html b/templates/shortcodes/fflow_experiences.html deleted file mode 100644 index 02e6da3..0000000 --- a/templates/shortcodes/fflow_experiences.html +++ /dev/null @@ -1,52 +0,0 @@ - -
    -
    -
    - -
    -
    - -
    -
    -
    -

    FREEFLOWING
    EDUCATION

    -
    All citizens can now acquire information and learn skills.
    -
    -
    -
    - -
    -
    - -
    -
    -
    -

    FREEFLOWING
    EMPOWERMENT

    -
    All citizens can now attain the opportunity to participate in the digital economy.
    -
    -
    -
    - - -
    -
    - -
    -
    -
    -

    FREEFLOWING
    COLLABORATION

    -
    All citizens can now work together to achieve goals and growth.
    -
    -
    -
    -
    -
    -
    \ No newline at end of file diff --git a/templates/shortcodes/fflow_grid.html b/templates/shortcodes/fflow_grid.html deleted file mode 100644 index 40cada5..0000000 --- a/templates/shortcodes/fflow_grid.html +++ /dev/null @@ -1,52 +0,0 @@ - -
    -
    -
    - -
    -
    - -
    -
    -
    -

    fully own
    your data

    -
    The entirety of your data belogs to you instead of company or service-provider.
    -
    -
    -
    - -
    -
    - -
    -
    -
    -

    unbeatable
    privacy

    -
    Only you have control of your data and decide who has access to it. Forever.
    -
    -
    -
    - - -
    -
    - -
    -
    -
    -

    zero
    manipulation

    -
    Your data can never be used for financial or commercial gains by anyone.
    -
    -
    -
    -
    -
    -
    \ No newline at end of file diff --git a/templates/shortcodes/fflow_skills.html b/templates/shortcodes/fflow_skills.html deleted file mode 100644 index ea55337..0000000 --- a/templates/shortcodes/fflow_skills.html +++ /dev/null @@ -1,95 +0,0 @@ -
    - -
    - -
    -
    - -
    -
    -

    Meet & Communicate

    -

    Chat with your friends, hold meetings and and have video conferencing.

    -
    -
    - -
    -
    - -
    -
    -

    Exchange & Store Money

    -

    Transact or manage your assets using the wallet features available with the Twin.

    -
    -
    - -
    -
    - -
    -
    -

    Create

    -

    Create videos, documents or anything else you require for your daily needs.

    -
    -
    - -
    -
    - -
    -
    -

    Organize

    -

    Archive and organize all your data in one place without worrying about security.

    -
    -
    - -
    -
    - -
    -
    -

    Share

    -

    Send your data and files to anyone of your choice directly without central servers.

    -
    -
    - -
    -
    - -
    -
    -

    Publish

    -

    Build websites, librariies or whatever else you require with the FreeFlow Twin.

    -
    -
    - -
    -
    - -
    -
    -

    Discover

    -

    FInd and browse any information without being tracked or logged.

    -
    -
    - -
    -
    - -
    -
    -

    Collaborate

    -

    Work with your friends, family or collegues or projects or tasks together.

    -
    -
    - -
    -
    - -
    -
    -

    Develop & Expand

    -

    Develop more tools or decentralized applications for the FreeFlow Grid.

    -
    -
    -
    -
    \ No newline at end of file diff --git a/templates/shortcodes/fflow_twin.html b/templates/shortcodes/fflow_twin.html deleted file mode 100644 index ceba0e7..0000000 --- a/templates/shortcodes/fflow_twin.html +++ /dev/null @@ -1,53 +0,0 @@ - -
    -
    -
    - -
    -
    - -
    -
    -
    -

    EVERYONE
    HAS ACCESS

    -
    Every member of society has access and there are no barriers to entry,.
    -
    -
    -
    - -
    -
    - -
    -
    -
    -

    ANYONE
    CAN PARTAKE

    -
    Only you have control of your data and decide who has access to it.
    -
    -
    -
    - - -
    -
    - -
    -
    -
    -

    ANYONE
    CAN SUCCEED

    -
    Anyone can attain the opportunity to earn and to better their lives.
    -
    -
    -
    -
    - -
    -
    \ No newline at end of file diff --git a/templates/shortcodes/grid_stats.html b/templates/shortcodes/grid_stats.html deleted file mode 100644 index 0ae595d..0000000 --- a/templates/shortcodes/grid_stats.html +++ /dev/null @@ -1,78 +0,0 @@ -{% set styles = "background-image: url('/images/ston_bg.png');" %} -{% set data = load_data(url="https://gridproxy.grid.tf/stats?status=up", required=false, format="json") %} -{% if data %} -{% set capacity = data.totalHru + data.totalSru / (1024 * 1024 * 1024 * 1024) %} -{% set nodes = data.nodes %} -{% set countries = data.countries %} -{% endif %} - -
    -
    -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    - {{ nodes }} -
    -
    -
    - freeflow nodes
    deployed -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    - {{ countries }} -
    -
    -
    - countries
    involved -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    - {{ capacity | round() }}TB -
    -
    -
    - capacity
    generated -
    -
    -
    -
    -
    -
    -
    -
    -
    \ No newline at end of file diff --git a/templates/shortcodes/menu.html b/templates/shortcodes/menu.html deleted file mode 100644 index 167be2b..0000000 --- a/templates/shortcodes/menu.html +++ /dev/null @@ -1,44 +0,0 @@ - - -{% set columns = body | safe | markdown | split(pat="|||") %} - - - -{% set classes = "relative flex flex-col lg:flex-row items-baseline -mx-8 sm:-mx-12 lg:-mx-12 xl:-mx-8" %} -{% set column_classes = "flex-1 m-2 lg:m-4" %} - - - -
    - {% for column in columns%} - - {% if column | as_str | length < 10 %} - - {% else %} -
    - {{column | split(pat="{% button() %}") | slice(end=1) | first | safe}} -
    -
    - {% for button in column | split(pat="{% button() %}") | slice(start=1) | join(sep="") | split(pat="{%% end %%}") | slice(end=-1) %} - {% set body = button %} - {% include "shortcodes/button.html" %} - {% endfor %} -
    - {% endif %} - {% endfor %} -
    \ No newline at end of file diff --git a/templates/shortcodes/mermaid.html b/templates/shortcodes/mermaid.html deleted file mode 100644 index 7ddc2e9..0000000 --- a/templates/shortcodes/mermaid.html +++ /dev/null @@ -1,3 +0,0 @@ -
    - {{ body }} -
    \ No newline at end of file diff --git a/templates/shortcodes/row.html b/templates/shortcodes/row.html deleted file mode 100644 index b16348b..0000000 --- a/templates/shortcodes/row.html +++ /dev/null @@ -1,250 +0,0 @@ - - - - -{% if page %} - {% if "](" in body %} - {% set body_arr = body | split(pat="](") %} - {% set body = body_arr[0] %} - {% for i in body_arr %} - {% set prev_index = loop.index0 - 1 %} - {% if not loop.first %} - {% if "![" in body_arr[prev_index] %} - {% set_global body = body ~ '](' ~ page.permalink ~ i %} - {% else %} - {% if i is not starting_with("http") %} - {% set base_url = get_url(path="") %} - {% set_global body = body ~ '](' ~ base_url ~ i %} - {% else %} - {% set_global body = body ~ '](' ~ i %} - {% endif %} - {% endif %} - {% endif %} - {% endfor %} - {% endif %} -{% endif %} - -{% set columns = body | safe | markdown | split(pat="

    |||

    ") %} - -{% set row_class = "relative flex flex-col md:flex md:flex-row flex-wrap max-w-fit overflow-hidden"%} - - -{% if 2 < columns | length %} - {% set row_class = row_class ~ " lg:items-start" %} -{% else %} - {% set row_class = row_class ~ " items-center" %} -{% endif %} - -{% set col_class = "flex-1 mb-4 md:mb-12 lg:mb-0 lg:mx-2 xl:mx-4" %} - - -{% set row_id = '' %} - -{% if id %} -{% set row_id = id %} - -{% endif %} - - - -{% set padding_class = " py-8 md:py-8 lg:py-24" %} - -{% if padding %} - {% if "none" in padding %} - {% set padding_class = " py-0" %} - {% elif "top" in padding %} - {% set padding_class = " py-2 md:py-4 lg:pt-24" %} - {% elif "bottom" in padding %} - {% set padding_class = " py-2 md:py-4 lg:pb-24" %} - {% elif "both" in padding %} - {% set padding_class = " py-8 md:py-4 lg:py-24" %} - {% endif %} -{% endif %} - -{% if css %} - {% set padding_class = padding_class ~ " " ~ css %} -{% endif %} - -{% set row_class = row_class ~ padding_class %} - - - - -{% set margin_class = " mx-4 md:mx-16 lg:mx-24" %} - -{% if margin %} - {% if "none" in margin %} - {% set margin_class = " mx-0" %} - {% elif "wide" in margin %} - {% set margin_class = " mx-8 sm:mx-8 md:mx-12 lg:mx-16 xl:mx-20 " %} - {% elif "moderate" in margin %} - {% set margin_class = " mx-8 sm:mx-16 md:mx-20 lg:mx-28" %} - {% elif "narrow" in margin %} - {% set margin_class = " mx-8 sm:mx-20 md:mx-28 lg:mx-40" %} - {% elif "tight" in margin %} - {% set margin_class = " mx-8 sm:mx-32 md:mx-40 lg:mx-80 xl:mx-96" %} - {% elif "header" in margin %} - {% set margin_class = " mx-8 sm:mx-20 md:mx-28 lg:mx-40 my-10" %} - {% elif "withContainer" in margin %} - {% set margin_class = " mx-8 " %} - {% endif %} - {% if "lean-left" in margin %} - {% set margin = margin_class | replace(from=" ", to=" first:")%} - {% set margin_left = margin | replace(from="mx", to="-ml") %} - {% set margin_right = margin | replace(from="mx", to="mr") %} - {% set col_class = col_class ~ " md:last:px-8 lg:last:px-20 lg:max-w-[50%] lg:mx-0 " ~ margin_left ~ margin_right %} - {% set row_class = row_class ~ " sm:gap-0 " %} - {% elif "lean-right" in margin %} - {% set margin = margin_class | replace(from=" ", to=" last:")%} - {% set margin_left = margin | replace(from="mx", to="ml") %} - {% set margin_right = margin | replace(from="mx", to="-mr") %} - {% set col_class = col_class ~ " md:first:px-8 lg:first:px-20 lg:max-w-[50%] lg:mx-0 " ~ margin_left ~ margin_right %} - {% set row_class = row_class ~ " sm:gap-0 " %} - {% endif %} -{% endif %} - -{% if css %} - {% set margin_class = margin_class ~ " " ~ css %} -{% endif %} - -{% set row_class = row_class ~ margin_class %} - - - - - {% if reverse %} - {% if "rightreserve" in reverse %} - {% set row_class = "flex flex-col-reverse md:flex-row items-center mx-8" %} - {% elif "leftreserve" in reverse %} - {% set row_class = "flex flex-col md:flex-row items-center mx-8" %} - - {% endif %} - {% endif %} - -{% if style %} - - {% if "center" in style %} - {% set row_class = row_class ~ " text-center items-center " %} - {% set col_class = col_class ~ " flex-1 " %} - {% endif %} - - {% if "right" in style %} - {% set row_class = row_class ~ " text-center lg:text-right md:text-right justify-center " %} - {% set col_class = col_class ~ " flex-1 m-4 lg:m-0 mx-8" %} -{% endif %} - - - {% if "items-end" in style %} - {% set row_class = row_class ~ " lg:items-end" %} - {% set col_class = col_class ~ " flex-1 " %} - {% endif %} - - - - - - {% if "between" in style %} - {% set row_class = row_class ~ " lg:max-w-6xl " %} - {% elif "moderate" in style %} - {% set row_class = row_class ~ " " %} - {% endif %} - - - {% if "narrow" in style %} - {% set row_class = row_class ~ " lg:max-w-3xl " %} - {% elif "tight" in style %} - {% set row_class = row_class ~ " lg:max-w-sm " %} - {% elif "moderate" in style %} - {% set row_class = row_class ~ " mx-20 " %} - {% endif %} - - {% if "invert-color" in style %} - - {% set row_class = row_class ~ " text-white lg:text-white " %} - - {% endif %} - {% else %} - {% set row_class = row_class ~ " " %} -{% endif %} - -{% set anchor_link = ""%} -{% if anchor %} - {% set anchor_link = anchor %} -{% endif %} - - - -{% set styles = "" %} -{% set div_class = " " %} -{% if bgPath %} - {% set background_url = page.permalink ~ bgPath %} - {% set styles = "background: url('" ~ background_url ~ "'); background-size: cover; background-position: center;" %} - {% if "#desktop" in bgPath %} - {% set bgStyle = false %} - {% set div_class = " !bg-[length:0px_0px] !bg-no-repeat lg:!bg-cover " %} - {% set row_class = row_class | replace(from='text-white', to='text-black') %} - {% if "invert-color" in style %} - {% if "#desktop" in bgPath %} - {% set row_class = row_class ~ " lg:text-white " %} - {% endif %} - {% endif %} - {% endif %} -{% endif %} -{% if bgStyle %} - {% if "full" in bgStyle %} - {% set styles = styles ~ "height: -webkit-fill-available; height: 100vh;" %} - {% elif "hero" in bgStyle %} - {% set div_class = div_class ~ " -mt-24 pt-12 " %} - {% endif %} -{% endif %} -{% if bgColor %} - {% set styles = "background-color: " ~ bgColor ~ "; background-size: cover" %} - {% set row_class = row_class %} -{% endif %} - -{% if class %} - {% set styles = "background-color: " ~ bgColor ~ "; background-size: cover" %} - {% set row_class = row_class %} -{% endif %} - - -{% set no_margins = " -mx-8 md:-mx-12 lg:-mx-16 xl:-mx-20" %} - - -
    -
    - - {% for column in columns%} - - - {% if column | as_str | length < 10 %} - - {% else %} -
    - - - {% if "{% mermaid() %}" in column %} - {% set mermaid_section = column | safe | markdown | split(pat="{% mermaid() %}") %} - {% set mermaid_content = mermaid_section[1] | striptags | replace(from="–", to="--")%} -
    - {{mermaid_content | safe }} -
    - {% else %} - {{ column | safe }} - {% endif %} -
    - {% endif %} - {% endfor %} -
    -
    \ No newline at end of file diff --git a/templates/shortcodes/space.html b/templates/shortcodes/space.html deleted file mode 100644 index fca83cc..0000000 --- a/templates/shortcodes/space.html +++ /dev/null @@ -1,8 +0,0 @@ - -{% set height = 52 %} -{% if size %} - {% if size == "small" %} - {% set height = 28 %} - {% endif %} -{% endif %} -
    \ No newline at end of file diff --git a/templates/shortcodes/team_sec.html b/templates/shortcodes/team_sec.html deleted file mode 100644 index 8254c21..0000000 --- a/templates/shortcodes/team_sec.html +++ /dev/null @@ -1,79 +0,0 @@ -
    -

    - THE TEAM -

    -
    Spread across the world, our team has - built some of the world’s best Internet storage and cloud automation technologies since the ‘90s. With a strong - vision for the future, we’re now on a mission to create a peer-to-peer Internet that can host all of humanity’s - digital workloads via smart contract, removing all forms of centralization from global IT systems.
    -
    -
    -
    -
    - - Adnan Fatayerji - -
    -
    -
    -
    -
    - - \ No newline at end of file diff --git a/templates/tags/list.html b/templates/tags/list.html deleted file mode 100644 index 7330b1f..0000000 --- a/templates/tags/list.html +++ /dev/null @@ -1,7 +0,0 @@ -{% extends "index.html" %} - -{% block content %} - -{{ terms }} - -{% endblock content %} diff --git a/templates/tags/single.html b/templates/tags/single.html deleted file mode 100644 index d9a8029..0000000 --- a/templates/tags/single.html +++ /dev/null @@ -1,12 +0,0 @@ -{% extends "index.html" %} - -{% block content %} - -{% set section = get_section(path="blog/_index.md")%} -
    - {{ section.content | safe}} -
    - {% include "partials/page_list.html" %} -
    - - {% endblock content %}