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.

73 lines
3.1KB

  1. <!DOCTYPE html>
  2. <html lang="{{ DEFAULT_LANG }}">
  3. <head>
  4. {% block head %}
  5. <title>{% block title %}{{ SITENAME }}{% endblock title %}</title>
  6. <meta charset="utf-8" />
  7. <link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/css/style.css" />
  8. {% if FEED_ALL_ATOM %}
  9. <link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Full Atom Feed" />
  10. {% endif %}
  11. {% if FEED_ALL_RSS %}
  12. <link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Full RSS Feed" />
  13. {% endif %}
  14. {% if FEED_ATOM %}
  15. <link href="{{ FEED_DOMAIN }}/{{ FEED_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Atom Feed" />
  16. {% endif %}
  17. {% if FEED_RSS %}
  18. <link href="{{ FEED_DOMAIN }}/{{ FEED_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />
  19. {% endif %}
  20. {% if CATEGORY_FEED_ATOM and category %}
  21. <link href="{{ FEED_DOMAIN }}/{{ CATEGORY_FEED_ATOM|format(category.slug) }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Categories Atom Feed" />
  22. {% endif %}
  23. {% if CATEGORY_FEED_RSS and category %}
  24. <link href="{{ FEED_DOMAIN }}/{{ CATEGORY_FEED_RSS|format(category.slug) }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Categories RSS Feed" />
  25. {% endif %}
  26. {% if TAG_FEED_ATOM and tag %}
  27. <link href="{{ FEED_DOMAIN }}/{{ TAG_FEED_ATOM|format(tag.slug) }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Tags Atom Feed" />
  28. {% endif %}
  29. {% if TAG_FEED_RSS and tag %}
  30. <link href="{{ FEED_DOMAIN }}/{{ TAG_FEED_RSS|format(tag.slug) }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Tags RSS Feed" />
  31. {% endif %}
  32. {% endblock head %}
  33. </head>
  34. <body id="index" class="home">
  35. <header id="banner" class="body">
  36. <h1><a href="{{ SITEURL }}/">{{ SITENAME }} <strong>{{ SITESUBTITLE }}</strong></a></h1>
  37. <img src="{{ SITELOGO }}" alt="logo" width="85" height="85" border="0">
  38. </header><!-- /#banner -->
  39. <nav id="menu"><ul>
  40. {% for title, link in MENUITEMS %}
  41. <li><a href="{{ link }}">{{ title }}</a></li>
  42. {% endfor %}
  43. {% if DISPLAY_PAGES_ON_MENU %}
  44. {% for p in pages %}
  45. <li{% if p == page %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li>
  46. {% endfor %}
  47. {% else %}
  48. {% if DISPLAY_CATEGORIES_ON_MENU %}
  49. {% for cat, null in categories %}
  50. <li{% if cat == category %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
  51. {% endfor %}
  52. {% endif %}
  53. {% endif %}
  54. </ul></nav><!-- /#menu -->
  55. {% block content %}
  56. {% endblock %}
  57. <footer id="contentinfo" class="body">
  58. <hr>
  59. <address id="about" class="vcard body">
  60. <small>
  61. unit hacklab 2019 - Alimentato da
  62. <a href="http://python.org">Python</a> e
  63. <a href="http://getpelican.com/">Pelican</a>, tema
  64. <a href="https://git.abbiamoundominio.org/dan/minimo">minimo</a>
  65. </small>
  66. </address><!-- /#about -->
  67. </footer><!-- /#contentinfo -->
  68. </body>
  69. </html>