Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lista ex-membros #127

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>
Loading