pub const TMPL_SYNC_FILENAME: &str = "\
{%- set tag = fm_sort_tag | default(value = path | file_sort_tag) -%}
{{ fm_title | default(value='No title') | sanit | prepend(with_sort_tag=tag) }}\
{{ fm_subtitle | default(value='') | sanit | prepend(with='--') }}\
{{ fm_file_ext | default(value = path | file_ext) | prepend(with='.') }}\
";
Expand description

Default filename template to test, if the filename of an existing note file on disk, corresponds to the note’s meta data stored in its front matter. If it is not the case, the note’s filename will be renamed.