mirror of
https://codeberg.org/Reuh/feather.git
synced 2025-10-28 02:29:32 +00:00
fix: count filename lengths in bytes instead of characters
This commit is contained in:
parent
f5d61b107c
commit
02ee76949b
2 changed files with 11 additions and 7 deletions
|
|
@ -42,8 +42,8 @@ template = '''
|
|||
'''
|
||||
# Filename template for generated HTML files.
|
||||
filename_template = "{{ published_formatted }}\t[{{ origin_title }}]\t{{ title }}.html"
|
||||
# Maximum allowed filename length before truncating.
|
||||
max_filename_length = 200
|
||||
# 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.
|
||||
max_filename_length = 250
|
||||
|
||||
[time]
|
||||
# Which timezone to use when writing date and time.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue