From 5f0811c30fb7835aa9f2026698a55c7e7d240ce3 Mon Sep 17 00:00:00 2001 From: boyska Date: Tue, 14 Jul 2020 21:19:48 +0200 Subject: [PATCH] sezione news --- content/news/20200712-confermato.md | 5 +++++ content/pages/info.md | 2 -- pelicanconf.py | 7 ++++-- themes/hackit0x16/templates/base.html | 32 ++++++++++----------------- 4 files changed, 22 insertions(+), 24 deletions(-) create mode 100644 content/news/20200712-confermato.md diff --git a/content/news/20200712-confermato.md b/content/news/20200712-confermato.md new file mode 100644 index 0000000..6a0139c --- /dev/null +++ b/content/news/20200712-confermato.md @@ -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! diff --git a/content/pages/info.md b/content/pages/info.md index d7b5930..18228e8 100644 --- a/content/pages/info.md +++ b/content/pages/info.md @@ -2,8 +2,6 @@ Title: Info slug: info navbar_sort: 1 -## Info - * **Dove** Roma, CSOA Forte prenestino, via Federico Delpino, Centocelle, Roma diff --git a/pelicanconf.py b/pelicanconf.py index c0aa04c..b5d8be8 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -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" diff --git a/themes/hackit0x16/templates/base.html b/themes/hackit0x16/templates/base.html index 93250b5..5570fb5 100644 --- a/themes/hackit0x16/templates/base.html +++ b/themes/hackit0x16/templates/base.html @@ -49,34 +49,26 @@ {% endif %} - {% if SOCIAL or FEED_ALL_ATOM or FEED_ALL_RSS %} + {% if FEED_ALL_ATOM or FEED_ALL_RSS %}
-

{{ SOCIAL_WIDGET_NAME | default('social') }}

-
{% endif %} -{% include 'analytics.html' %} -{% include 'disqus_script.html' %}