From 7990045762addbe3e4878c53292393a63998c92b Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Sun, 6 Nov 2022 18:29:25 +0100 Subject: [PATCH] use include for team --- _data/team.yml | 20 +++++++ _includes/block/team.html | 114 ++++-------------------------------- _includes/team.html | 118 -------------------------------------- 3 files changed, 32 insertions(+), 220 deletions(-) create mode 100644 _data/team.yml delete mode 100644 _includes/team.html diff --git a/_data/team.yml b/_data/team.yml new file mode 100644 index 00000000..2c25c368 --- /dev/null +++ b/_data/team.yml @@ -0,0 +1,20 @@ +text: InvenTree has had 40+ contributors since the project started in March 2017. +team: + - tag: SchrodingersGat + name: Oliver + text: Oliver is an Australian EE. He started InvenTree in 2017 and is the maintainer. + links: + - text: GitHub + link: https://github.com/SchrodingersGat + - tag: eeintech + name: Francois + text: Francois is an EE. He is part of the core team an maintainer of [Ki-nTree](https://github.com/sparkmicro/Ki-nTree). + links: + - text: GitHub + link: https://github.com/eeintech + - tag: matmair + name: Matthias + text: Matthias is an Austrian developer. He is part of the core team and focuses on `enterprise` enhancments. + links: + - text: GitHub + link: https://github.com/matmair diff --git a/_includes/block/team.html b/_includes/block/team.html index 87a36b31..c09caf65 100644 --- a/_includes/block/team.html +++ b/_includes/block/team.html @@ -2,117 +2,27 @@

OUR TEAM

-

Whatever cardigan tote bag tumblr hexagon brooklyn asymmetrical gentrify, subway tile poke farm-to-table. Franzen you probably haven't heard of them.

+

{{ include.text }}

+ + {% for item in include.team %}
- team
-

Holden Caulfield

-

UI Developer

-

DIY tote bag drinking vinegar cronut adaptogen squid fanny pack vaporware.

+

{{ item.tag }}

+

{{ item.name }}

+

{{ item.text }}

- - - - - - - - - - - - - - - - -
-
-
-
-
- team -
-

Alper Kamu

-

Designer

-

DIY tote bag drinking vinegar cronut adaptogen squid fanny pack vaporware.

- - - - - - - - - - - - - - - - - -
-
-
-
-
- team -
-

Atticus Finch

-

UI Developer

-

DIY tote bag drinking vinegar cronut adaptogen squid fanny pack vaporware.

- - - - - - - - - - - - - - - - - -
-
-
-
-
- team -
-

Henry Letham

-

Designer

-

DIY tote bag drinking vinegar cronut adaptogen squid fanny pack vaporware.

- - - - - - - - - - - - - - - - - + {% for link in item.links %} + Learn More + {% endfor %} +
+ {% endfor %} +
\ No newline at end of file diff --git a/_includes/team.html b/_includes/team.html deleted file mode 100644 index e4efffde..00000000 --- a/_includes/team.html +++ /dev/null @@ -1,118 +0,0 @@ -
-
-
-

OUR TEAM

-

Whatever cardigan tote bag tumblr hexagon brooklyn asymmetrical gentrify, subway tile poke farm-to-table. Franzen you probably haven't heard of them.

-
-
-
-
- team -
-

Holden Caulfield

-

UI Developer

-

DIY tote bag drinking vinegar cronut adaptogen squid fanny pack vaporware.

- - - - - - - - - - - - - - - - - -
-
-
-
-
- team -
-

Alper Kamu

-

Designer

-

DIY tote bag drinking vinegar cronut adaptogen squid fanny pack vaporware.

- - - - - - - - - - - - - - - - - -
-
-
-
-
- team -
-

Atticus Finch

-

UI Developer

-

DIY tote bag drinking vinegar cronut adaptogen squid fanny pack vaporware.

- - - - - - - - - - - - - - - - - -
-
-
-
-
- team -
-

Henry Letham

-

Designer

-

DIY tote bag drinking vinegar cronut adaptogen squid fanny pack vaporware.

- - - - - - - - - - - - - - - - - -
-
-
-
-
-
\ No newline at end of file