Docs: Render full contents of just the latest post (#8032)

Merge pull request 8032
This commit is contained in:
Ashwin Maroli
2020-02-27 18:44:16 +05:30
committed by GitHub
parent 70fc6b377d
commit 7ba99f0010
6 changed files with 66 additions and 7 deletions

View File

@@ -6,5 +6,9 @@ author: all
---
{% for post in site.categories.release -%}
{% include news_item.html -%}
{% if forloop.index == 1 -%}
{% include news_item.html -%}
{% else -%}
{% include news_item_archive.html -%}
{% endif -%}
{% endfor -%}