From 97346feaee42d9c3611f7c08c7750c592ccfd22e Mon Sep 17 00:00:00 2001 From: dan Date: Mon, 25 Mar 2019 22:58:19 +0100 Subject: [PATCH] removed conf-files --- pelicanconf.py | 104 ------------------------------------------------- publishconf.py | 29 -------------- 2 files changed, 133 deletions(-) delete mode 100644 pelicanconf.py delete mode 100644 publishconf.py diff --git a/pelicanconf.py b/pelicanconf.py deleted file mode 100644 index 233d2ed..0000000 --- a/pelicanconf.py +++ /dev/null @@ -1,104 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- # -from __future__ import unicode_literals - -AUTHOR = 'random unit hacklab scriba' -#AUTHOR_URL = 'pages/info.html' # punta a una pagina invece che a una lista di post. -SITENAME = "unit minimo" -#SITESUBTITLE = 'un sottitolo' -SITEURL = '' # viene definito in publishconf.py -PORT = 8000 -#BIND = '' -PATH = 'content' -TIMEZONE = 'Europe/Paris' -DEFAULT_LANG = 'it' -LOCALE = 'it_IT.utf8' -REVERSE_CATEGORY_ORDER = True -DEFAULT_PAGINATION = 3 -DEFAULT_DATE = 'fs' -DEFAULT_DATE_FORMAT = '%d %B %Y' - -# Feed generation attivata in publishconf.py -FEED_ALL_ATOM = None -CATEGORY_FEED_ATOM = None -TRANSLATION_FEED_ATOM = None -AUTHOR_FEED_ATOM = None -AUTHOR_FEED_RSS = None - -FEED_MAX_ITEMS = 9 -RSS_FEED_SUMMARY_ONLY = True - -THEME = 'themes/minimo' - -MENUITEMS = (('ARCHIVIO |', '/minimo/archives.html'), - ('CATEGORIE |', '/minimo/categories.html'), - ('TAG |', '/minimo/tags.html'), - ('RSS |', '/minimo/feeds/all.rss.xml'), - ('HOME', '../index.html'),) - -#LINKS = (('titolo', 'https://eccetera'), -# ('in verità non sono in uso', 'https://eccetera'), -# ('infatti sono commentati', 'https://yayayaya'),) - -#LINKS_WIDGET_NAME = 'INVECE CHE CHIAMARLI LINK' - -# Settare su true solo in sviluppo, settare su falso o commentare in pubblicazione -#RELATIVE_URLS = True - -DEFAULT_METADATA = {'unit hacklab': 'This is a Game Planet'} - -# static paths will be copied without parsing their contents -STATIC_PATHS = [ - 'images', - 'deep', - 'media', - 'media/robots.txt', - 'media/favicon.ico', -] - -EXTRA_PATH_METADATA = { - 'media/robots.txt': {'path': 'robots.txt'}, - 'media/favicon.ico': {'path': 'favicon.ico'}, -} - -# custom page generated with a jinja2 template -#TEMPLATE_PAGES = {'pages/jinja2_template.html': 'jinja2_template.html'} - -## code blocks with line numbers -#PYGMENTS_RST_OPTIONS = {'linenos': 'table'} -#PYGMENTS_RST_OPTIONS = {'classprefix': 'pgcss', 'linenos': 'table'} - -MARKDOWN = { - 'extension_configs': { - 'markdown.extensions.codehilite': {'css_class': 'highlight'}, - 'markdown.extensions.extra': {}, - 'markdown.extensions.meta': {}, - }, - 'output_format': 'html5', -} - -USE_FOLDER_AS_CATEGORY = True -DEFAULT_CATEGORY = 'pizzini' -DISPLAY_PAGES_ON_MENU = False -DISPLAY_CATEGORIES_ON_MENU = False -HIDE_CATEGORIES_FROM_MENU = True - -## Se False, i post con data nel futuro sono dei draft, sennò li pubblica cmq. -WITH_FUTURE_DATES = False - -OUTPUT_RETENTION = [] -OUTPUT_RETENTION = [".hg", ".git", ".bzr"] -IGNORE_FILES = ['.#*'] - -#CHECK_MODIFIED_METHOD = 'mtime' - -#ARTICLE_URL = 'posts/{date:%Y}/{date:%b}/{date:%d}/{slug}/' -#ARTICLE_URL = 'posts/{date:%Y}/{slug}/' -#ARTICLE_URL = '{date:%Y}/{category}/{slug}/' - -#ARTICLE_SAVE_AS = 'posts/{date:%Y}/{date:%b}/{date:%d}/{slug}/index.html' -#ARTICLE_SAVE_AS = 'posts/{date:%Y}/{slug}/index.html' -#ARTICLE_SAVE_AS = '{author}-{slug}.html' - -#PAGE_URL = 'pages/{slug}/' -#PAGE_SAVE_AS = 'pages/{slug}/index.html' diff --git a/publishconf.py b/publishconf.py deleted file mode 100644 index 162e0de..0000000 --- a/publishconf.py +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- # -from __future__ import unicode_literals - -# This file is only used if you use `make publish` or -# explicitly specify it as your config file. - -import os -import sys -sys.path.append(os.curdir) -from pelicanconf import * - -SITEURL = 'https://unit.abbiamoundominio.org/minimo' -RELATIVE_URLS = False - -#FEED_ALL_ATOM = 'feeds/all.atom.xml' -#CATEGORY_FEED_ATOM = 'feeds/%s.atom.xml' - -FEED_ALL_RSS = 'feeds/all.rss.xml' -#CATEGORY_FEED_RSS = 'feeds/{slug}.rss.xml' -CATEGORY_FEED_RSS = 'feeds/category_%s.rss.xml' - -## RSS anche delle tag -#TAG_FEED_ATOM = "feeds/tag_%s.atom.xml" -TAG_FEED_RSS = "feeds/tag_%s.rss.xml" - -#TRANSLATION_FEED_RSS = None - -DELETE_OUTPUT_DIRECTORY = True