Primo commit - base sito funzionante?
This commit is contained in:
parent
7abb0ade2e
commit
71f4b86bde
30 changed files with 1742 additions and 0 deletions
17
themes/blue-penguin/templates/index.html
Normal file
17
themes/blue-penguin/templates/index.html
Normal file
|
@ -0,0 +1,17 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}{{ SITENAME }}{% if articles_page.number != 1 %} | Page {{ articles_page.number }}{% endif %}{% endblock %}
|
||||
{% block content %}
|
||||
{% set date = None %}
|
||||
{% for article in articles_page.object_list %}
|
||||
{% if date != article.date.date() %}
|
||||
{% set first_article_of_day = True %}
|
||||
{% else %}
|
||||
{% set first_article_of_day = False %}
|
||||
{% endif %}
|
||||
{% set date = article.date.date() %}
|
||||
{% include "article_stub.html" %}
|
||||
{% endfor %}
|
||||
|
||||
{% include "pagination.html" %}
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue