-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
executable file
·35 lines (27 loc) · 1.15 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
layout: master
# Note that below the 'for my_page in pages' and 'if my_page.title'... should be on the same line to remove whitespace between li elements.
---
<div class="home">
<p>{{ site.index_page_text }}</p>
<ul class="post-list">
{% assign pages = site.pages | sort: 'page_rank' %}
{% for my_page in pages %}{% if (my_page.section_title != null) and my_page.type == 'stop' %}<li>
<a class="post-link" href="{{ my_page.url | prepend: site.baseurl }}" style="background-image: url('{{ site.baseurl }}{{ site.headphones_icon_color }}');">
<span class="post-item">{{ my_page.stop_id }}</span>
</a>
</li>{% endif %}{% endfor %}
</ul>
<!--
For reference: This is a list of all the stops and titles in this audio guide
{% assign pages = site.pages | sort: 'page_rank' %}
{% for my_page in pages %}{% if (my_page.section_title != null) and my_page.type == 'stop' %}
Stop #: {{ my_page.stop_id }}
Section Title: {{ my_page.section_title }}
Title: {{ my_page.title }}
{% endif %}{% endfor %}
-->
<!--
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | prepend: site.baseurl }}">via RSS</a></p>
-->
</div>