Skip to content

Commit

Permalink
fix order of benefits.
Browse files Browse the repository at this point in the history
  • Loading branch information
darthwing-duck committed Nov 3, 2023
1 parent a7b5f77 commit 5a7ae82
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 21 deletions.
18 changes: 18 additions & 0 deletions _data/benefits.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
- title: Support and Connection
icon: 🤗
benefits:
- You are **heard and respected**. Everyone listens to your words. What you say is confidential.
- You are **valued** and **respected** by a circle of men who help each other in realizing their dreams.

- title: Growth and Belonging
icon: 🤝
benefits:
- **Break free** from **limiting and sabotaging beliefs**.
- **Find brotherhood** and **insight**.
- Access your **inner leader**.

- title: Leadership and Accountability
icon: 🏡
benefits:
- Men **remind** you of your **commitments** without judgment.
- Men **hold you accountable** and keep you focused on your goals.
5 changes: 0 additions & 5 deletions _data/benefits/1_supportAndConnection.yml

This file was deleted.

6 changes: 0 additions & 6 deletions _data/benefits/2_growthAndBelonging.yml

This file was deleted.

5 changes: 0 additions & 5 deletions _data/benefits/3_leadershipAndAccountability.yml

This file was deleted.

9 changes: 4 additions & 5 deletions _includes/benefits.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,14 @@ <h2 class="section-heading text-center">{{ s.title }}</h2>
<h3 class="section-subheading text-muted text-center">{{ s.subtitle }}</h3>
</div>
<div class="col-md-6">
{% for benefit_hash in site.data.benefits %}
{% assign benefit = benefit_hash[1] %}
{% for b in site.data.benefits %}
<div class="benefit">
<h3>
<i>{{ benefit.icon }}</i> {{ benefit.title }}
<i>{{ b.icon }}</i> {{ b.title }}
</h3>
<ul>
{% for statement in benefit.benefits %}
<li>{{ statement.benefit }}</li>
{% for statement in b.benefits %}
<li>{{ statement | markdownify }}</li>
{% endfor %}
</ul>
</div>
Expand Down

0 comments on commit 5a7ae82

Please sign in to comment.