diff options
| author | Bradley Taunt <git@btxx.org> | 2026-03-09 09:53:28 -0400 |
|---|---|---|
| committer | Bradley Taunt <git@btxx.org> | 2026-03-09 09:53:28 -0400 |
| commit | caf99ae22c885e97f993a3a148e51c609794f098 (patch) | |
| tree | dd2fa6396bcaa2f38743665e342de4c424fe8a8a /index.html | |
| parent | 47cef12240cf9315fec684564d4fc0389d56c653 (diff) | |
Rework member website structure
- Use data sites yaml for listing all members, remove site_listings files
- Update submission page to reflect updates
- Include required gems in Gemfile
- Include build file for auto formatting sites.yml
Diffstat (limited to 'index.html')
| -rw-r--r-- | index.html | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -9,8 +9,7 @@ summary: Listing all web pages under 1MB in total size </div> <div id="main"> - {% assign famers = site.site_listings %} - {% assign websites = site.site_listings | sort: 'size' %} + {% assign websites = site.data.sites | sort: 'size' %} <h2 id="members">Official Members</h2> <img class="http-badge" src="/public/http-badge.svg" alt="HTTP badge" /> <p> Items marked with this <i>clickable</i> badge support out-of-date browsers via HTTP (<a href="/blog/https-redirects">Why?</a>)</p> @@ -27,11 +26,11 @@ summary: Listing all web pages under 1MB in total size <tr> <td> {% if item.http == true %} - <a href="http://{{ item.pageurl }}"> + <a href="http://{{ item.domain }}"> <img class="http-badge" src="/public/http-badge.svg" alt="HTTP badge" /> </a> {% endif %} - <a class="site" href="https://{{ item.pageurl }}">{{ item.pageurl }}</a> + <a class="site" href="https://{{ item.domain }}">{{ item.domain }}</a> </td> <td align="right"><span>{{ item.size }}</span></td> </tr> @@ -42,9 +41,9 @@ summary: Listing all web pages under 1MB in total size <h2 id="hof">🏆 Hall of Fame 🏆</h2> <p><strong>Supporters of a leaner web!</strong></p> <p> - {% for item in famers %} + {% for item in websites %} {% if item.hof == true %} - <span><a href="https://{{ item.pageurl }}">{{ item.pageurl }}</a></span> + <span><a href="https://{{ item.domain }}">{{ item.domain }}</a></span> {% endif %} {% endfor %} </p> |
