Commit a0d85002 authored by Denis Salem's avatar Denis Salem
Browse files

fix issue 11

parent dbbf825d
......@@ -15,7 +15,7 @@ code_highlight_css_override: true
markup_language: 'Markdown'
path:
category_directory_name: '{category}'
chapter_directory_name: '{chapter_name}'
chapter_directory_name: '{chapter_aname}'
dates_directory_name: '%m-%Y'
entry_file_name: index.html
ftp: Chemin absolu de votre blog sur l'hôte FTP.
......
......@@ -405,7 +405,8 @@ class DataStore:
"chapter_index" : sub_chapter.index
})
except KeyError as e:
print("Unknown variable", e)
from venc2.helpers import die
die(messages.variable_error_in_filename.format(e))
output += io.format(**{
"index": sub_chapter.index,
......
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