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:
parent
07e0e0be9f
commit
360117deb1
3 changed files with 12 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue