mirror of
https://github.com/captn3m0/news.git
synced 2024-09-20 00:57:02 +00:00
35 lines
1.0 KiB
HTML
35 lines
1.0 KiB
HTML
---
|
|
layout: default
|
|
---
|
|
<p class="slug-line">
|
|
<a class="slug-link" href="/">Beatroot</a> > {{page.title | capitalize}}
|
|
</p>
|
|
<div class="topic-container">
|
|
<h1 class="topic-heading">{{page.title | capitalize | strip}}</h1>
|
|
<div class="hr-line"></div>
|
|
<p class="topic-date"><time datetime="{{site.time | date: '%y-%m-%d'}}">{{site.time | date: "%A, %b, %e, %Y"}}</time></p>
|
|
|
|
{% for post in site.pages %}
|
|
{% if post.topics contains page.topic %}
|
|
<details data-hash="{{post.id}}-{{post.date | date: '%s'}}">
|
|
<summary>
|
|
<h2>
|
|
{% if post.trigger_warning %}
|
|
<span class="trigger-warning">{{post.trigger_warning |strip_html | strip}}</span>
|
|
<span class="real-title">{{post.title}}</span>
|
|
{% else %}
|
|
{{post.title | strip}}
|
|
{% endif %}
|
|
</h2>
|
|
<a class="topic-title" href="{{post.url}}">🔗</a>
|
|
{% if post.sources contains "PTI" or post.sources contains "IE"%}
|
|
<span title="Syndicated News">📡</span>
|
|
{%endif%}
|
|
</summary>
|
|
<div class="details-content">{{post.content}}</div>
|
|
</details>
|
|
{%endif%}
|
|
{% endfor %}
|
|
|
|
</div> <!-- topic-container -->
|