mirror of
https://github.com/captn3m0/news.git
synced 2024-09-19 15:57:03 +00:00
Nemo
0bb026114b
- reuse date format across the all pages. - fix emoji to not be underlined in case of links
29 lines
809 B
HTML
29 lines
809 B
HTML
---
|
|
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>
|