From 2526000ebec75423bfefab0492998a3e9fd7f7d8 Mon Sep 17 00:00:00 2001 From: Luana Date: Fri, 6 Dec 2024 13:07:57 -0300 Subject: [PATCH] Lista ex-membros --- src/_includes/listagem.html | 8 ++++++++ src/_layouts/member.html | 2 ++ src/_members/deandreson.md | 1 + src/_members/procopio.md | 5 +++++ src/_members/ryan.md | 1 + src/_members/setembru.md | 1 + src/membros.html | 22 +++++++++++++++++++++- 7 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 src/_members/procopio.md diff --git a/src/_includes/listagem.html b/src/_includes/listagem.html index 4d3dc134..5f14de21 100644 --- a/src/_includes/listagem.html +++ b/src/_includes/listagem.html @@ -12,6 +12,14 @@ {{ post.date | date: "%d/%m/%y" }} {% endif %} + {% if post.quickextra %} + {% if (post.date and post.show_date) or post.state %} + | {{ post.quickextra }} + {% else %} + {{ post.quickextra }} + {% endif %} + {% endif %} + {% if post.author %} | {% include person.html name=post.author %} {% elsif post.authors %} diff --git a/src/_layouts/member.html b/src/_layouts/member.html index 5ef11dec..5a57a149 100644 --- a/src/_layouts/member.html +++ b/src/_layouts/member.html @@ -6,6 +6,8 @@

{{ page.title }}

{% if page.subtitle %}

{{ page.subtitle }}

{% endif %} + {% if page.quickextra %}

{{ page.quickextra }}

{% endif %} +
{% if page.email %} diff --git a/src/_members/deandreson.md b/src/_members/deandreson.md index 06904911..29468c65 100644 --- a/src/_members/deandreson.md +++ b/src/_members/deandreson.md @@ -1,4 +1,5 @@ --- title: Deandreson Alves draft: true +memberrole: "previous" --- diff --git a/src/_members/procopio.md b/src/_members/procopio.md new file mode 100644 index 00000000..6c04b257 --- /dev/null +++ b/src/_members/procopio.md @@ -0,0 +1,5 @@ +--- +title: Lucas Caetano Procópio +draft: true +memberrole: "previous" +--- diff --git a/src/_members/ryan.md b/src/_members/ryan.md index 96b38645..21fba13a 100644 --- a/src/_members/ryan.md +++ b/src/_members/ryan.md @@ -3,4 +3,5 @@ title: Ryan Souza Sá Teles links: Site: ryan.dev.br draft: true +memberrole: "previous" --- diff --git a/src/_members/setembru.md b/src/_members/setembru.md index afe79c90..e252d634 100644 --- a/src/_members/setembru.md +++ b/src/_members/setembru.md @@ -4,4 +4,5 @@ nickname: Setembru links: Site: setembru.dev.br draft: true +memberrole: "previous" --- diff --git a/src/membros.html b/src/membros.html index 15e5bcfe..86d5c8d5 100644 --- a/src/membros.html +++ b/src/membros.html @@ -6,7 +6,7 @@

{{ page.title }}

- {{ page.description }}. Inclui membros inativos e fundadores/coordenadores eméritos. + {{ page.description }}.

Se incluir nessa lista é um dos passos para ser membro pleno no GELOS. Basta @@ -15,8 +15,28 @@

{{ page.title }}

+
+

Membros Plenos

+
+ {% assign members = site.members | sort:"title" | sort:"draft" %} {% for post in members %} + {% unless post.memberrole == "previous" %} {% include listagem.html %} + {% endunless %} + {% endfor %} +
+ +
+
+

Antigos Membros

+

Membros anteriores e fundadores/coordenadores eméritos.

+
+ + {% assign members = site.members | sort:"title" | sort:"draft" %} + {% for post in members %} + {% if post.memberrole == "previous" %} + {% include listagem.html %} + {% endif %} {% endfor %}