Commit 6c9a9206 authored by Matthieu Boileau's avatar Matthieu Boileau
Browse files

Shorten section names in config.yml

parent 9818f697
...@@ -10,6 +10,6 @@ categories: ...@@ -10,6 +10,6 @@ categories:
- 14 - 14
groupe: 2 groupe: 2
skip: 49 skip: 49
rubriques_filename: spip_rubriques_clean.yml rubriques: spip_rubriques_clean.yml
articles_filename: spip_articles_clean.yml articles: spip_articles_clean.yml
documents_filename: spip_documents.yml documents: spip_documents.yml
...@@ -357,9 +357,9 @@ class Website: ...@@ -357,9 +357,9 @@ class Website:
self.site_url = cfg['site_url'] self.site_url = cfg['site_url']
self.authors = cfg['authors'] self.authors = cfg['authors']
self.attachments_prefix = cfg['attachments_prefix'] self.attachments_prefix = cfg['attachments_prefix']
self.rubriques_filename = cfg['rubriques_filename'] self.rubriques_filename = cfg['rubriques']
self.documents_filename = cfg['documents_filename'] self.documents_filename = cfg['documents']
self.articles_filename = cfg['articles_filename'] self.articles_filename = cfg['articles']
self.categories = {-1: "spip_divers"} self.categories = {-1: "spip_divers"}
for pelican_category, spip_rubrique in cfg['categories'].items(): for pelican_category, spip_rubrique in cfg['categories'].items():
if type(spip_rubrique) == int: if type(spip_rubrique) == int:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment