From 63bc9704c69afb3ad3f0df4781e7a299a0fbc2f3 Mon Sep 17 00:00:00 2001 From: putro Date: Mon, 25 Mar 2019 16:41:57 +0100 Subject: [PATCH] cambiato il sistema di salvataggio delle pagine da pagina.html a /pagina/index.html, con l'eccezione di index che si salva da se in /index.html) --- content/pages/howto_mailinglist.md | 4 ---- content/pages/index.md | 8 +++++--- content/pages/manifesto.md | 2 +- content/pages/nolike.md | 2 +- pelicanconf.py | 20 +++++++++++--------- 5 files changed, 18 insertions(+), 18 deletions(-) diff --git a/content/pages/howto_mailinglist.md b/content/pages/howto_mailinglist.md index 4468f16..f263a0e 100644 --- a/content/pages/howto_mailinglist.md +++ b/content/pages/howto_mailinglist.md @@ -1,10 +1,6 @@ Title: Linee guida mailing list Slug: howto_mailinglist - - -# Linee guida: Mailing list - ## Non usare HTML Il testo semplice è buono. Tutti lo leggono, sempre, con piacere. diff --git a/content/pages/index.md b/content/pages/index.md index e782763..3f2b346 100644 --- a/content/pages/index.md +++ b/content/pages/index.md @@ -1,13 +1,15 @@ Title: unit state of mind Slug: index +Url: index.html +Save_as: index.html -[manifesto](manifesto.html) | [faq](faq.html) | [newsletter](https://noise.autistici.org/mailman/listinfo/unit-news) +[manifesto](manifesto/) | [faq](faq/) | [newsletter](https://noise.autistici.org/mailman/listinfo/unit-news) [wiki](https://wiki.unit.abbiamoundominio.org/) | [git](https://git.abbiamoundominio.org/) -[pmomp](pmomp.html) | [criptolibretto](criptolibretto.html) | [cheek2cheek](c2c.html) | [lost](http://lost.abbiamoundominio.org/) +[pmomp](pmomp/) | [criptolibretto](criptolibretto/) | [cheek2cheek](c2c/) | [lost](http://lost.abbiamoundominio.org/) -[comunicati](comunicati/index.html) | [nolike](nolike.html) +[nolike](nolike/) * * * diff --git a/content/pages/manifesto.md b/content/pages/manifesto.md index 5e75aa6..75fa3bf 100644 --- a/content/pages/manifesto.md +++ b/content/pages/manifesto.md @@ -47,6 +47,6 @@ ma aspettiamo una risposta per domani mattina. ----[ 2 - Domande ]------------------------------------------------------------ Hai delle domande? E noi abbiamo delle FAQ: -http://unit.abbiamoundominio.org/faq.html +http://unit.abbiamoundominio.org/faq/ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= diff --git a/content/pages/nolike.md b/content/pages/nolike.md index 09a6a31..f6241e3 100644 --- a/content/pages/nolike.md +++ b/content/pages/nolike.md @@ -94,7 +94,7 @@ Questi strumenti di comunicazione sociale sono: * **Il feed RSS e la pagina web per la diffusione** -Ci impegniamo a divulgare l'uso della email e della mailing list. vedi: [Come usare una mailing list](howto-mailinglist.html) +Ci impegniamo a divulgare l'uso della email e della mailing list. vedi: [Come usare una mailing list](/howto_mailinglist/) L'email è portatile, collaudata, universalmente accettata, archivabile, asincrona. diff --git a/pelicanconf.py b/pelicanconf.py index f66f877..fcb49a7 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -6,7 +6,7 @@ AUTHOR = u'Unit' SITENAME = u'unit' # SITEURL = 'https://unit.abbiamoundominio.org' SITEURL = '' - +SITELOGO = '/images/logo.png' # SITESUBTITLE = '' PATH = 'content' @@ -55,8 +55,8 @@ WITH_FUTURE_DATES = False THEME = 'themes/minimo' -PAGE_URL = '{slug}.html' -PAGE_SAVE_AS = '{slug}.html' +PAGE_URL = '{slug}/index.html' +PAGE_SAVE_AS = '{slug}/index.html' ARTICLE_URL = 'blog/{date:%Y-%m-%d}-{slug}.html' ARTICLE_SAVE_AS = 'blog/{date:%Y-%m-%d}-{slug}.html' @@ -67,9 +67,11 @@ USE_FOLDER_AS_CATEGORY = True DISPLAY_PAGES_ON_MENU = False DISPLAY_CATEGORIES_ON_MENU = False -MENUITEMS = (('HOME |', 'index.html'), - ('NEWS |', 'articles.html'), - ('CATEGORIE |', 'categories.html'), - ('TAG |', 'tags.html'), - ('CONTATTI |', 'contatti.html'), - ('RSS', 'feeds/all.atom.xml'),) +DELETE_OUTPUT_DIRECTORY = True + +MENUITEMS = (('HOME |', '/index.html'), + ('NEWS |', '/articles.html'), + ('CATEGORIE |', '/categories.html'), + ('TAG |', '/tags.html'), + ('CONTATTI |', '/contatti'), + ('RSS', '/feeds/all.atom.xml'),)