nuovo sito fatto con pelican
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

75 lines
2.0KB

  1. {% extends "base.html" %}
  2. {% block content_title %}{% endblock %}
  3. {% block ogtitle %}{{ SITENAME }}{% endblock %}
  4. {% block ogurl %}{{ SITEURL }}{%endblock%}
  5. {% block canonicalurl %}{{ SITEURL }}{%endblock%}
  6. {% block content %}
  7. <div class="span9">
  8. {% if articles %}
  9. {% for article in articles_page.object_list %}
  10. {% if loop.length > 0 %}
  11. {% if loop.first %}
  12. <section>
  13. <ol id="posts-list" class="hfeed" start="{{ articles_paginator.per_page -1 }}">
  14. {% endif %}
  15. <article>
  16. <header>
  17. <h1 class="entry-title">
  18. <a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink: {{ article.title|striptags }}">
  19. {{ article.title }}
  20. </a>
  21. </h1>
  22. </header>
  23. <div class="entry-content">
  24. {% include 'article_infos.html' %}
  25. {{ article.summary }}
  26. <p class="readmore">
  27. <a class="btn btn-small btn-info" href="{{ SITEURL }}/{{ article.url }}">continua..</a>
  28. </p>
  29. </div>
  30. <hr/>
  31. </article>
  32. {% if loop.last %}
  33. </ol><!-- /#posts-list -->
  34. {% if loop.last and (articles_page.has_previous()
  35. or not articles_page.has_previous() and loop.length > 1) %}
  36. {% include 'pagination.html' %}
  37. {% endif %}
  38. </section><!-- /#content -->
  39. {% endif %}
  40. {% endif %}
  41. {% endfor %}
  42. {% else %}
  43. <section>
  44. <h2>Pages</h2>
  45. {% for page in PAGES %}
  46. <li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li>
  47. {% endfor %}
  48. </section>
  49. {% endif %}
  50. </div>
  51. {% endblock content %}
  52. {% if LINKS %}
  53. <div>
  54. <h2>Links</h2>
  55. <ul>
  56. {% for name, link in LINKS %}
  57. <li><a href="{{ link }}">{{ name }}</a></li>
  58. {% endfor %}
  59. </ul>
  60. </div><!-- /.Links -->
  61. {% endif %}
  62. {% if TAG_CLOUD_STEPS %}
  63. <div>
  64. <h2>Tags</h2>
  65. <ul id="cloud">
  66. {% for tag in tag_cloud %}
  67. <li class="tag-{{ tag.1 }}"><a href="{{ SITEURL }}/{{ tag.0.url }}">{{ tag.0 }}</a></li>
  68. {% endfor %}
  69. </ul>
  70. </div>
  71. {% endif %}<!-- /.Tags -->
  72. </div>