1
0
Fork 0
mirror of https://codeberg.org/Reuh/feather.git synced 2025-10-28 02:29:32 +00:00

feat: set mtime and atime for generated files

This commit is contained in:
Étienne Fildadut 2025-10-09 21:42:41 +02:00
parent 07e0e0be9f
commit 360117deb1
3 changed files with 12 additions and 4 deletions

View file

@ -49,7 +49,7 @@ template = '''
'''
# Filename template for generated HTML files.
# Can be set through the environment variable HTML_FILENAME_TEMPLATE.
filename_template = "{{ published_formatted }}\t[{{ origin_title }}]\t{{ title }}.html"
filename_template = "[{{ origin_title }}]\t{{ title }} ({{ published_formatted }}).html"
# Maximum allowed filename length (in bytes assuming UTF-8 encoding) before truncating. Depending on your filesystem filename's limits it may be possible to increase the value, ask Wikipedia for details.
# Can be set through the environment variable HTML_MAX_FILENAME_LENGTH.
max_filename_length = 250