mirror of
https://github.com/captn3m0/news.git
synced 2024-09-19 15:57:03 +00:00
developing story mark
This commit is contained in:
parent
123d7d814b
commit
9f0608862c
2
TODO.md
2
TODO.md
@ -10,7 +10,7 @@
|
||||
- [ ] Font adjustments
|
||||
- [ ] Clear "read articles"
|
||||
- [x] Redirect 404 articles to upstream
|
||||
- [ ] Add sign for "developing story"
|
||||
- [x] Add sign for "developing story"
|
||||
- [ ] Fix tap target size in bottom footer.
|
||||
- [ ] Make "/" in bottom footer using CSS after
|
||||
- [ ] Check color accessibility for viewed tags.
|
7
_includes/story.html
Normal file
7
_includes/story.html
Normal file
@ -0,0 +1,7 @@
|
||||
<details data-hash="{{include.story.id}}-{{include.story.date | date: '%s'}}">
|
||||
<summary>
|
||||
<h3>{{include.story.title | strip}}</h3>
|
||||
{% if include.story.content.downcase contains "developing story" %}<span title="Developing Story">✍</span>{%endif%}
|
||||
</summary>
|
||||
<div class="details-content">{{include.story.content}}</div>
|
||||
</details>
|
@ -13,9 +13,7 @@ layout: default
|
||||
{% if post.topics and post.days_ago < 2 and post.topics.first == topic %}
|
||||
|
||||
{% unless post.sources contains "PTI" or post.sources contains "IE" %}
|
||||
<details data-hash="{{post.id}}-{{post.date | date: '%s'}}"><summary><h3>{{post.title | strip}}</h3></summary>
|
||||
<div class="details-content">{{post.content}}</div>
|
||||
</details>
|
||||
{% include_cached story.html story=post %}
|
||||
{% endunless %}
|
||||
|
||||
{%endif%}
|
||||
|
Loading…
Reference in New Issue
Block a user