Skip to content

Commit

Permalink
Lista ex-membros
Browse files Browse the repository at this point in the history
  • Loading branch information
LuNeder committed Dec 20, 2024
1 parent 0ea660b commit 2526000
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 1 deletion.
8 changes: 8 additions & 0 deletions src/_includes/listagem.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down
2 changes: 2 additions & 0 deletions src/_layouts/member.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
<header>
<h1>{{ page.title }}</h1>
{% if page.subtitle %}<p><em>{{ page.subtitle }}</em></p>{% endif %}
{% if page.quickextra %}<p><em>{{ page.quickextra }}</em></p>{% endif %}


<blockquote>
{% if page.email %}
Expand Down
1 change: 1 addition & 0 deletions src/_members/deandreson.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
title: Deandreson Alves
draft: true
memberrole: "previous"
---
5 changes: 5 additions & 0 deletions src/_members/procopio.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: Lucas Caetano Procópio
draft: true
memberrole: "previous"
---
1 change: 1 addition & 0 deletions src/_members/ryan.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ title: Ryan Souza Sá Teles
links:
Site: ryan.dev.br
draft: true
memberrole: "previous"
---
1 change: 1 addition & 0 deletions src/_members/setembru.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ nickname: Setembru
links:
Site: setembru.dev.br
draft: true
memberrole: "previous"
---
22 changes: 21 additions & 1 deletion src/membros.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<h1>{{ page.title }}</h1>
<p>
{{ page.description }}. Inclui membros inativos e fundadores/coordenadores eméritos.
{{ page.description }}.
</p>
<p>
Se incluir nessa lista é um dos passos para ser membro pleno no GELOS. Basta
Expand All @@ -15,8 +15,28 @@ <h1>{{ page.title }}</h1>
</p>

<section>
<header>
<h2>Membros Plenos</h2>
</header>

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

<section>
<header>
<h2>Antigos Membros</h2>
<p>Membros anteriores e fundadores/coordenadores eméritos.</p>
</header>

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

1 comment on commit 2526000

Please sign in to comment.