mirror of
https://codeberg.org/Reuh/feather.git
synced 2025-10-28 02:29:32 +00:00
feat: make filename escaping configurable
This commit is contained in:
parent
02ee76949b
commit
06dc961d62
3 changed files with 8 additions and 5 deletions
|
|
@ -44,6 +44,8 @@ template = '''
|
|||
filename_template = "{{ published_formatted }}\t[{{ origin_title }}]\t{{ title }}.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.
|
||||
max_filename_length = 250
|
||||
# Table mapping characters to what they will be replaced with in filenames. Useful to remove/replace characters that are not allowed in filename by your filesystem. The default should be fine for most Unix filesystems.
|
||||
filename_replacement = { "/" = "⧸", "\u0000" = "" }
|
||||
|
||||
[time]
|
||||
# Which timezone to use when writing date and time.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue