<commit_before>#!/usr/bin/env python3
import datetime
import logging

import pelican
from markdown.extensions import Extension
from markdown.inlinepatterns import SimpleTagPattern
from pelican.plugins import jinja2content
from pelican.utils import DateFormatter

PELICAN_VERSION = pelican.__version__

AUTHOR = "<NAME>"
SITENAME = "blog.mlcdf"
SITEURL = ""

SITESUBTITLE = "Blog personnel de <NAME> Floris"
DESCRIPTION = "Le blog de <NAME> Floris, développeur web le jour, amateur de photographie et de cinéma la nuit."

PATH = "content"
OUTPUT_PATH = "output/"

TIMEZONE = "Europe/Paris"

LOCALE = ["fr_FR.UTF-8"]
DEFAULT_LANG = "fr"

THEME = "theme"
THEME_STATIC_DIR = "theme"

AUTHOR_SAVE_AS = False
AUTHORS_SAVE_AS = False
TAG_SAVE_AS = False
TAGS_SAVE_AS = False
CATEGORY_SAVE_AS = False
CATEGORIES_SAVE_AS = False
ARCHIVES_SAVE_AS = False

# Feed generation is usually not desired when developing
FEED_RSS = None
FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None

LOG_FILTER = [
    (logging.WARN, "CATEGORY_SAVE_AS is set to False"),<commit_msg>try to fix locale issue<commit_after>#!/usr/bin/env python3
import datetime
import locale
import logging

import pelican
from markdown.extensions import Extension
from markdown.inlinepatterns import SimpleTagPattern
from pelican.plugins import jinja2content
from pelican.utils import DateFormatter

PELICAN_VERSION = pelican.__version__

AUTHOR = "<NAME>"
SITENAME = "blog.mlcdf"
SITEURL = ""

SITESUBTITLE = "Blog personnel de <NAME> Floris"
DESCRIPTION = "Le blog de <NAME> Conte des Floris, développeur web le jour, amateur de photographie et de cinéma la nuit."

PATH = "content"
OUTPUT_PATH = "output/"

TIMEZONE = "Europe/Paris"

locale.setlocale(locale.LC_ALL, 'fr_FR.UTF-8')
LOCALE = ["fr_FR.UTF-8"]
DEFAULT_LANG = "fr"

THEME = "theme"
THEME_STATIC_DIR = "theme"

AUTHOR_SAVE_AS = False
AUTHORS_SAVE_AS = False
TAG_SAVE_AS = False
TAGS_SAVE_AS = False
CATEGORY_SAVE_AS = False
CATEGORIES_SAVE_AS = False
ARCHIVES_SAVE_AS = False

# Feed generation is usually not desired when developing
FEED_RSS = None
FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None

LOG_FILTER = [
    (logging.WARN, "CATEGORY_SAVE_AS is set to False"),
{'fraction_non_alphanumeric': 0.08022308022308022, 'fraction_numerical': 0.003003003003003003, 'mean_word_length': 5.606232294617564, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2303913', 'n_tokens_mistral': 864, 'n_tokens_neox': 849, 'n_words': 229}