home: wip news
This commit is contained in:
parent
5c0a096860
commit
5f348345cd
9 changed files with 507 additions and 19 deletions
|
|
@ -54,6 +54,26 @@
|
|||
</socials>
|
||||
<img width="200px" src="/static/assets/gifs/divider2.gif" />
|
||||
</box>
|
||||
<box id="newsbox">
|
||||
<website-news>
|
||||
<img src="/static/assets/gifs/updates.gif" />
|
||||
|
||||
{% for article in news %}
|
||||
<article-entry>
|
||||
<time datetime="{{ article.date }}">
|
||||
{{ article.date.format("%d/%m/%Y") }}
|
||||
</time>
|
||||
<article-body>
|
||||
{{ article.body }}
|
||||
</article-body>
|
||||
</article-entry>
|
||||
{% else %}
|
||||
<ominous-message>
|
||||
Nothing to see here, for now...
|
||||
</ominous-message>
|
||||
{% endfor %}
|
||||
</website-news>
|
||||
</box>
|
||||
</boxes>
|
||||
</home-content>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue