diff --git a/services/m=news/archives/latest.html b/services/m=news/archives/latest.html index cf67912e1..480a9e57a 100644 --- a/services/m=news/archives/latest.html +++ b/services/m=news/archives/latest.html @@ -1,12 +1,15 @@ --- +layout: newspost +title: Lastest --- - + {% assign sorted = site.pages | orderby: 'date' %} +{% assign flag = true %} {% for page in sorted %} {% for tag in page.tags %} - {% if tag == "news" %} - - {% break %} + {% if tag == "news" and flag %} + {{page.content}} + {% assign flag = false %} {% endif %} {% endfor %} {% endfor %} \ No newline at end of file