sezione news

This commit is contained in:
boyska 2020-07-14 21:19:48 +02:00
parent 92f705feba
commit 5f0811c30f
4 changed files with 22 additions and 24 deletions

View file

@ -0,0 +1,5 @@
Title: hackmeeting 10-13 settembre 2020
# Hackmeeting 2020: 10-13 settembre!
Dopo il prehackmeeting dell'11 luglio, possiamo confermare che l'hackmeeting si terrà dal 10 al 13 settembre
al CSOA forte prenestino, a Roma!

View file

@ -2,8 +2,6 @@ Title: Info
slug: info
navbar_sort: 1
## Info
* **Dove**
Roma, CSOA Forte prenestino, via Federico Delpino, Centocelle, Roma

View file

@ -18,7 +18,11 @@ TIMEZONE = "Europe/Paris"
DEFAULT_LANG = "it"
# Feed generation is usually not desired when developing
FEED_ALL_ATOM = None
INDEX_SAVE_AS = "news.html"
ARTICLE_URL = "news/{slug}.html"
ARTICLE_SAVE_AS = "news/{slug}.html"
FEED_DOMAIN = "https://it.hackmeeting.org/"
FEED_ALL_ATOM = "news.xml"
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
@ -42,7 +46,6 @@ PAGE_URL = "{slug}.html"
PAGE_SAVE_AS = "{slug}.html"
PAGE_LANG_URL = "{slug}.{lang}.html"
PAGE_LANG_SAVE_AS = "{slug}.{lang}.html"
INDEX_SAVE_AS = "articles.html"
BANNER = True
BANNER_ALL_PAGES = True
SITELOGO = "logo/logo.png"

View file

@ -49,34 +49,26 @@
</ul>
</div><!-- /.blogroll -->
{% endif %}
{% if SOCIAL or FEED_ALL_ATOM or FEED_ALL_RSS %}
{% if FEED_ALL_ATOM or FEED_ALL_RSS %}
<div class="social">
<h2>{{ SOCIAL_WIDGET_NAME | default('social') }}</h2>
<ul>
{% if FEED_ALL_ATOM %}
<li><a href="{{ FEED_DOMAIN }}/{% if FEED_ALL_ATOM_URL %}{{ FEED_ALL_ATOM_URL }}{% else %}{{ FEED_ALL_ATOM }}{% endif %}" type="application/atom+xml" rel="alternate">atom feed</a></li>
{% endif %}
{% if FEED_ALL_RSS %}
<li><a href="{{ FEED_DOMAIN }}/{% if FEED_ALL_RSS_URL %}{{ FEED_ALL_RSS_URL }}{% else %}{{ FEED_ALL_RSS }}{% endif %}" type="application/rss+xml" rel="alternate">rss feed</a></li>
{% endif %}
{% if FEED_ALL_ATOM %}
<div>
<a href="{{ FEED_DOMAIN }}/{% if FEED_ALL_ATOM_URL %}{{ FEED_ALL_ATOM_URL }}
{% else %}{{
FEED_ALL_ATOM }}{% endif %}" type="application/atom+xml" rel="alternate">atom
feed</a></div>
{% endif %}
{% if FEED_ALL_RSS %}
<div><a href="{{ FEED_DOMAIN }}/{% if FEED_ALL_RSS_URL %}{{ FEED_ALL_RSS_URL }}
{% else %}{{ FEED_ALL_RSS }}{% endif %}" type="application/rss+xml" rel="alternate">rss feed</a></div>
{% endif %}
{% for name, link in SOCIAL %}
<li><a href="{{ link }}">{{ name }}</a></li>
{% endfor %}
</ul>
</div><!-- /.social -->
{% endif %}
</section><!-- /#extras -->
<footer id="contentinfo" class="body">
<address id="about" class="vcard body">
Proudly powered by <a href="http://getpelican.com/">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.
</address><!-- /#about -->
<p>The theme is by <a href="http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
</footer><!-- /#contentinfo -->
{% include 'analytics.html' %}
{% include 'disqus_script.html' %}
</body>
</html>