generated from 11ty/eleventy-base-blog
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Updated 1 file via CloudCannon. * Added 1 file via CloudCannon. * Updated 1 file via CloudCannon. * Updated 1 file via CloudCannon. * Updated 2 files via CloudCannon. * Updated 1 file via CloudCannon. * Updated 1 file via CloudCannon. * Updated 1 file via CloudCannon. * Updated 1 file via CloudCannon. * Updated 1 file via CloudCannon. * Add a hasMembersAtLevel filter and use it. --------- Co-authored-by: Gracie Gregory <[email protected]> Co-authored-by: Adam Harvey <[email protected]>
- Loading branch information
1 parent
276cb8c
commit b61053d
Showing
5 changed files
with
87 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,72 +1,80 @@ | ||
<h2>Platinum</h2> | ||
<ul class="memberslist"> | ||
{% for member in memberslist %} | ||
{% if member.data.level == "platinum" and member.data.status != "suspended" %} | ||
{% if member.data.founder == "yes" %} | ||
<li class="platinummember"> | ||
{% if member.data.logo %} | ||
<img src="{{ member.data.logo }}" alt="{{ member.data.name }}"/> | ||
<a href="{{ member.data.url }}" rel="nofollow"><div style="background-image: url('/img/founding-member.png'" alt="Founding Member" class="founding"></div></a> | ||
{% endif %} | ||
</li> | ||
{% else %} | ||
<li class="platinummember"> | ||
{% if (memberslist | hasMembersAtLevel("platinum")) %} | ||
<ul class="memberslist"> | ||
{% for member in memberslist %} | ||
{% if member.data.level == "platinum" and member.data.status != "suspended" %} | ||
{% if member.data.founder == "yes" %} | ||
<li class="platinummember"> | ||
{% if member.data.logo %} | ||
<img src="{{ member.data.logo }}" alt="{{ member.data.name }}"/> | ||
<a href="{{ member.data.url }}" rel="nofollow"><div style="background-image: url('/img/founding-member.png'" alt="Founding Member" class="founding"></div></a> | ||
{% endif %} | ||
</li> | ||
{% else %} | ||
<li class="platinummember"> | ||
{% if member.data.logo %} | ||
<a href="{{ member.data.url }}" rel="nofollow"><img src="{{ member.data.logo }}" alt="{{ member.data.name }}"/></a> | ||
{% endif %} | ||
</li> | ||
{% endif %} | ||
{% endif %} | ||
{% endfor %} | ||
</ul> | ||
{% endif %} | ||
{% if (memberslist | hasMembersAtLevel("gold")) %} | ||
<h2>Gold</h2> | ||
<ul class="memberslist"> | ||
{% for member in memberslist %} | ||
{% if member.data.level == "gold" and member.data.status != "suspended" %} | ||
<li class="goldmember"> | ||
{% if member.data.logo %} | ||
<a href="{{ member.data.url }}" rel="nofollow"><img src="{{ member.data.logo }}" alt="{{ member.data.name }}"/></a> | ||
{% if member.data.founder == "yes" %} | ||
<a href="{{ member.data.url }}" rel="nofollow"> | ||
<div style="background-image: url('/img/founding-member.png'" alt="Founding Member" class="founding"> | ||
</div> | ||
</a> | ||
{% endif %} | ||
{% endif %} | ||
</li> | ||
{% endif %} | ||
{% endif %} | ||
{% endfor %} | ||
</ul> | ||
<h2>Gold</h2> | ||
<ul class="memberslist"> | ||
{% for member in memberslist %} | ||
{% if member.data.level == "gold" and member.data.status != "suspended" %} | ||
<li class="goldmember"> | ||
{% if member.data.logo %} | ||
<a href="{{ member.data.url }}" rel="nofollow"><img src="{{ member.data.logo }}" alt="{{ member.data.name }}"/></a> | ||
{% if member.data.founder == "yes" %} | ||
<a href="{{ member.data.url }}" rel="nofollow"> | ||
<div style="background-image: url('/img/founding-member.png'" alt="Founding Member" class="founding"> | ||
</div> | ||
</a> | ||
{% endif %} | ||
{% endif %} | ||
</li> | ||
{% endif %} | ||
{% endfor %} | ||
</ul> | ||
<h2>Silver</h2> | ||
<ul class="memberslist"> | ||
{% for member in memberslist %} | ||
{% if member.data.level == "silver" and member.data.status != "suspended" %} | ||
{% if member.data.founder == "yes" %} | ||
<li class="silvermember"> | ||
{% if member.data.logo %} | ||
<img src="{{ member.data.logo }}" alt="{{ member.data.name }}"/> | ||
<a href="{{ member.data.url }}" rel="nofollow"><div style="background-image: url('/img/founding-member.png'" alt="Founding Member" class="founding"></div></a> | ||
{% endif %} | ||
</li> | ||
{% else %} | ||
<li class="silvermember"> | ||
{% endif %} | ||
{% endfor %} | ||
</ul> | ||
{% endif %} | ||
{% if (memberslist | hasMembersAtLevel("silver")) %} | ||
<h2>Silver</h2> | ||
<ul class="memberslist"> | ||
{% for member in memberslist %} | ||
{% if member.data.level == "silver" and member.data.status != "suspended" %} | ||
{% if member.data.founder == "yes" %} | ||
<li class="silvermember"> | ||
{% if member.data.logo %} | ||
<img src="{{ member.data.logo }}" alt="{{ member.data.name }}"/> | ||
<a href="{{ member.data.url }}" rel="nofollow"><div style="background-image: url('/img/founding-member.png'" alt="Founding Member" class="founding"></div></a> | ||
{% endif %} | ||
</li> | ||
{% else %} | ||
<li class="silvermember"> | ||
{% if member.data.logo %} | ||
<a href="{{ member.data.url }}" rel="nofollow"><img src="{{ member.data.logo }}" alt="{{ member.data.name }}"/></a> | ||
{% endif %} | ||
</li> | ||
{% endif %} | ||
{% endif %} | ||
{% endfor %} | ||
</ul> | ||
{% endif %} | ||
{% if (memberslist | hasMembersAtLevel("associate")) %} | ||
<h2>Associate</h2> | ||
<ul class="memberslist"> | ||
{% for member in memberslist %} | ||
{% if member.data.level == "associate" and member.data.status != "suspended" %} | ||
<li class="associatemember"> | ||
{% if member.data.logo %} | ||
<a href="{{ member.data.url }}" rel="nofollow"><img src="{{ member.data.logo }}" alt="{{ member.data.name }}"/></a> | ||
{% endif %} | ||
</li> | ||
{% endif %} | ||
{% endif %} | ||
{% endfor %} | ||
</ul> | ||
<h2>Associate</h2> | ||
<ul class="memberslist"> | ||
{% for member in memberslist %} | ||
{% if member.data.level == "associate" and member.data.status != "suspended" %} | ||
<li class="associatemember"> | ||
{% if member.data.logo %} | ||
<a href="{{ member.data.url }}" rel="nofollow"><img src="{{ member.data.logo }}" alt="{{ member.data.name }}"/></a> | ||
{% endif %} | ||
</li> | ||
{% endif %} | ||
{% endfor %} | ||
</ul> | ||
{% endif %} | ||
{% endfor %} | ||
</ul> | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.