From bfcc61f789869415a68054c1e9f8667d99635896 Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Thu, 19 Jan 2023 23:43:53 +0100 Subject: [PATCH] Fix publisher section (#103) * fix logo size and margin * make heading a bit smaller * fix posts not showing up * switch to the more uniform auhtor * fix team page to use the main text block * fix reference for oliver * Change verbage * Add team member badge * Add icon Fix publisher section Fixes #102 --- _data/team.yml | 2 +- _layouts/publisher.html | 21 ++++++++++++++------- _repo/shopify.md | 2 +- about/team.html | 33 +++++++++++++++++++++++++++++++++ about/team.md | 29 ----------------------------- 5 files changed, 49 insertions(+), 38 deletions(-) create mode 100644 about/team.html delete mode 100644 about/team.md diff --git a/_data/team.yml b/_data/team.yml index f6e95fad..8daa4cce 100644 --- a/_data/team.yml +++ b/_data/team.yml @@ -1,6 +1,6 @@ text: InvenTree has had 40+ contributors since the project started in March 2017. Here are some of the currently most active devs. team: - - tag: oliver + - tag: SchrodingersGat name: Oliver text: Oliver is an Australian EE. He started InvenTree in 2017 and is the maintainer. links: diff --git a/_layouts/publisher.html b/_layouts/publisher.html index d0a85e27..c7f06210 100644 --- a/_layouts/publisher.html +++ b/_layouts/publisher.html @@ -2,14 +2,16 @@ layout: content notitle: true --- -

-
+

+
{% if page.github %} - mdo +
+ mdo +
{% endif %} {{ page.name }}
-

+

{% if page.github %} @@ -17,7 +19,12 @@ notitle: true {% endif %} {% if page.website %} -Official Website +Website +{% endif %} + +{% assign filtered_team = site.data.team.team | where: 'tag', page.short_name %} +{% if filtered_team and filtered_team.size != 0 %} +Team Member {% endif %}
@@ -25,7 +32,7 @@ notitle: true {{ content }} -{% assign filtered_posts = site.posts | where: 'publisher', page.short_name %} +{% assign filtered_posts = site.posts | where: 'author', page.short_name %} {% if filtered_posts and filtered_posts.size != 0 %}

Posts

{% endif %} -{% assign filtered_plugins = site.repo | where: 'publisher', page.short_name %} +{% assign filtered_plugins = site.repo | where: 'author', page.short_name %} {% if filtered_plugins and filtered_plugins.size != 0 %}

Plugins