This commit is contained in:
Tyrel Souza 2022-11-04 16:41:55 -04:00
parent c95f29b173
commit 35317547ed
No known key found for this signature in database
GPG Key ID: F6582CF1308A2360
2 changed files with 11 additions and 1 deletions

View File

@ -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;
}

View File

@ -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">