templates.news.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
{% extends "./layout.html" %}
{% block sectionClasses %}news{% endblock %}
{% block meta_title %}What's new? / Blog{% endblock %}
{% block meta_description %}What's new? / Blog / Change log{% endblock %}
{% block scripts %}
{% endblock %}
{% block body %}
{% if currentPage > 1 %}
{% else %}
{% endif %}
{% if currentPage == 1 %}
{% endif %}
{% if currentPage == 1 %}
{% else %}
{% endif %}
{% if currentPage == 1 %}
News
{% endif %}
{#==========================================
Loop over the news entries and display them
==========================================#}
{% for newsEntry in newsEntries %}
{{newsEntry.title | raw }}
{{newsEntry.publishedDate | dateFormat('_', 'short', ' ')}} ({{newsEntry.publishedDate | dateFormat('relative') }})
{{newsEntry.description | raw }}
{% else %}
No news.
{% endfor %}
{% if currentPage > 1 %}
{% if currentPage == 2 %}
{% else %}
{% endif %}
{% endif %}
{% if nextPage > 0 %}
{% endif %}
{#==========================================
We only display the Change Log and Twitter
section on the first page
==========================================#}
{% if currentPage == 1 %}
Change log
Have a look at the Github commits page.
Twitter
You can follow us on Twitter.
{% endif %}
{% endblock %}
{% endif %}
{% if currentPage > 1 %}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy