add locale setting
This commit is contained in:
parent
1cd0939230
commit
377278b88f
|
@ -1,5 +1,8 @@
|
|||
# This is the configuration file for geminer.
|
||||
# Is is not intended to be executed.
|
||||
# It is not intended to be executed.
|
||||
|
||||
# locale (for templates, for example dates rendering)
|
||||
locale = "fr_FR.utf8"
|
||||
|
||||
# path to directory containing markdonw files to convert
|
||||
md_dir = "~/repo/htg-content/content/posts"
|
||||
|
|
|
@ -4,9 +4,13 @@ from md2gemini import md2gemini
|
|||
import frontmatter
|
||||
from jinja2 import Template
|
||||
import os
|
||||
import locale
|
||||
|
||||
import config
|
||||
|
||||
# locale (for templates, for example dates rendering)
|
||||
locale = "fr_FR.utf8"
|
||||
|
||||
md_path = os.path.expanduser(config.md_dir)
|
||||
gmi_path = os.path.expanduser(config.gmi_dir)
|
||||
tpl_path = os.path.expanduser(config.tpl_dir)
|
||||
|
|
Loading…
Reference in New Issue