(new)
This commit is contained in:
parent
c95f29b173
commit
35317547ed
@ -239,3 +239,11 @@ ul ul {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
|
||||
.new ::before {
|
||||
content: "(new)";
|
||||
display: inline-block;
|
||||
font-size: 0.8rem;
|
||||
padding-right: 0.25rem;
|
||||
color: #859900;
|
||||
}
|
||||
|
@ -24,7 +24,9 @@
|
||||
<div class="entry-list-flex-child">
|
||||
<h2>
|
||||
<div>
|
||||
<span class="article-list-title"><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></span>
|
||||
<span
|
||||
class="article-list-title{% if article.date.year == article.date.now().year and article.date.month == article.date.now().month %} new{% endif %}"
|
||||
><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></span>
|
||||
</div>
|
||||
</h2>
|
||||
<span class="small">
|
||||
|
Loading…
Reference in New Issue
Block a user