-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
28 lines (25 loc) · 809 Bytes
/
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
---
title: "Beatroot News: Text-only"
layout: default
---
<div class="topic-container">
<h1 class="topic-heading">{{page.title}}</h1>
<div class="hr-line"></div>
{% include date.html %}
{% for T in site.data.topics %}
{% assign post_count = T[1] %}
{% if post_count > 0 %}
<div class="topic-{{T[0]|downcase}} news-topic">
<h2><a href="/{{T[0]}}/">{{T[0] | capitalize}}</a></h2>
{% for post in site.pages %}
{% if post.topics and post.topics.first == T[0] %}
{% include_cached story.html story=post heading_level=3%}
{% endif %}
{% endfor %}
</div>
{% endif %}
{% endfor %}
<br><button id="hidden-notifier">Show <span id="hidden-count"></span> hidden topic(s)</button>
<p>❖ - Syndicated news, primarily from PTI</p>
<p>Dark/Light border on the right denotes articles from today/yesterday</p>
</div>