geminer/config.py.example

56 lines
1.4 KiB
Plaintext

# This is the configuration file for geminer.
# 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 = "/srv/my-site-content/posts"
# path to directory where gemini files will be exported
gmi_dir = "/srv/gemini/my-site/posts"
# path to directory where meta pages will be generated
# such as home page, tags list, tag pages, author pages...
meta_dir = "/srv/gemini/my-site"
# path to directory containing templates
tpl_dir = "~/repo/htg-content/gemini/templates"
# list of markdown files extensions
# Any file with a different extension will be ignored.
md_extensions = [
"markdown",
"mdown",
"mkdn",
"md",
"mkd",
"mdwn",
"mdtxt",
"mdtext",
"text",
"Rmd"
]
# Set following value to True if you want ".gmi" extensions on new files.
gmi_extension = False
# replacement map
# Some CMS make you use some placeholders (for instance for assets URL).
# You have to inform geminer of them here.
replace = [
("%assets_url%", "https://hashtagueule.fr/assets")
]
# md2gemini settings
# Check the documentation at https://pypi.org/project/md2gemini/
code_tag=""
img_tag="[IMG]"
indent=" "
ascii_table=False
links="copy"
plain=True
strip_html=False
base_url=""
table_tag="table"