From 5a7ae82f35ecdcdcf864df566a21e42a49a0b9f6 Mon Sep 17 00:00:00 2001 From: Jun Date: Fri, 3 Nov 2023 20:42:09 +0900 Subject: [PATCH] fix order of benefits. --- _data/benefits.yml | 18 ++++++++++++++++++ _data/benefits/1_supportAndConnection.yml | 5 ----- _data/benefits/2_growthAndBelonging.yml | 6 ------ .../benefits/3_leadershipAndAccountability.yml | 5 ----- _includes/benefits.html | 9 ++++----- 5 files changed, 22 insertions(+), 21 deletions(-) create mode 100644 _data/benefits.yml delete mode 100644 _data/benefits/1_supportAndConnection.yml delete mode 100644 _data/benefits/2_growthAndBelonging.yml delete mode 100644 _data/benefits/3_leadershipAndAccountability.yml diff --git a/_data/benefits.yml b/_data/benefits.yml new file mode 100644 index 0000000..5008c42 --- /dev/null +++ b/_data/benefits.yml @@ -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. \ No newline at end of file diff --git a/_data/benefits/1_supportAndConnection.yml b/_data/benefits/1_supportAndConnection.yml deleted file mode 100644 index 7ec13de..0000000 --- a/_data/benefits/1_supportAndConnection.yml +++ /dev/null @@ -1,5 +0,0 @@ -title: Support and Connection -icon: 🤗 -benefits: - - benefit: You are heard and respected. Everyone listens to your words. What you say is confidential. - - benefit: You are valued and respected by a circle of men who help each other in realizing their dreams. \ No newline at end of file diff --git a/_data/benefits/2_growthAndBelonging.yml b/_data/benefits/2_growthAndBelonging.yml deleted file mode 100644 index 7aaa022..0000000 --- a/_data/benefits/2_growthAndBelonging.yml +++ /dev/null @@ -1,6 +0,0 @@ -title: Growth and Belonging -icon: 🤝 -benefits: - - benefit: Break free from limiting and sabotaging beliefs. - - benefit: Find brotherhood and insight. - - benefit: Access your inner leader. \ No newline at end of file diff --git a/_data/benefits/3_leadershipAndAccountability.yml b/_data/benefits/3_leadershipAndAccountability.yml deleted file mode 100644 index d098dea..0000000 --- a/_data/benefits/3_leadershipAndAccountability.yml +++ /dev/null @@ -1,5 +0,0 @@ -title: Leadership and Accountability -icon: 🏡 -benefits: - - benefit: Men remind you of your commitments without judgment. - - benefit: Men hold you accountable and keep you focused on your goals. \ No newline at end of file diff --git a/_includes/benefits.html b/_includes/benefits.html index ce384bb..29a3c1a 100644 --- a/_includes/benefits.html +++ b/_includes/benefits.html @@ -7,15 +7,14 @@

{{ s.title }}

{{ s.subtitle }}

- {% for benefit_hash in site.data.benefits %} - {% assign benefit = benefit_hash[1] %} + {% for b in site.data.benefits %}

- {{ benefit.icon }} {{ benefit.title }} + {{ b.icon }} {{ b.title }}

    - {% for statement in benefit.benefits %} -
  • {{ statement.benefit }}
  • + {% for statement in b.benefits %} +
  • {{ statement | markdownify }}
  • {% endfor %}