Skip to content

Commit

Permalink
Update pmaweb/templates/index.html
Browse files Browse the repository at this point in the history
Co-authored-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
  • Loading branch information
AdrianoCahete and MauricioFauth committed Apr 24, 2021
1 parent d53b860 commit 63ffe13
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions pmaweb/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,11 @@ <h2>
<div class="news-month" title="{{ item.date|date:'mmmm' }}">
{{ item.date|date:"mm" }}
</div>
<div class="news-year">
<!-- TODO: Needs a if(item.date|date:'yyyy' == current_year) {display:none;} -->
{{ item.date|date:"yyyy" }}
</div>
{% if item.date|date:"Y" != current_year %}
<div class="news-year">
{{ item.date|date:"Y" }}
</div>
{% endif %}
</div>
<div class="news-info">
<div class="news-title">
Expand Down

0 comments on commit 63ffe13

Please sign in to comment.