diff --git a/_includes/news.html b/_includes/news.html index 307e532..d793e39 100644 --- a/_includes/news.html +++ b/_includes/news.html @@ -1,4 +1,4 @@ - +

news

{% if site.news != blank -%} @@ -13,7 +13,7 @@

news

{% endif %} {% for item in news limit: news_limit %} - {{ item.date | date: "%b %-d, %Y" }} + {{ item.date | date: "%b %Y" }} {% if item.inline -%} {{ item.content | remove: '

' | remove: '

' | emojify }} diff --git a/news.html b/news.html deleted file mode 100644 index d793e39..0000000 --- a/news.html +++ /dev/null @@ -1,31 +0,0 @@ - -
-

news

- {% if site.news != blank -%} - {%- assign news_size = site.news | size -%} -
3 %}style="max-height: 10vw"{% endif %}> - - {%- assign news = site.news | reverse -%} - {% if site.news_limit %} - {% assign news_limit = site.news_limit %} - {% else %} - {% assign news_limit = news_size %} - {% endif %} - {% for item in news limit: news_limit %} - - - - - {%- endfor %} -
{{ item.date | date: "%b %Y" }} - {% if item.inline -%} - {{ item.content | remove: '

' | remove: '

' | emojify }} - {%- else -%} - {{ item.title }} - {%- endif %} -
-
- {%- else -%} -

No news so far...

- {%- endif %} -