diff --git a/.config/papis/config b/.config/papis/config index 58997d2..a5d66a5 100644 --- a/.config/papis/config +++ b/.config/papis/config @@ -7,13 +7,13 @@ formatter = jinja2 # Format folder & file in format -- add-file-name = {{ doc.year }}-{{ (doc.author_list[0].family if doc.author_list else "AUTHOR_MISSING") }}-{{ ' '.join(doc.title.split()[:10]) }} add-folder-name = {{ doc.year }}-{{ (doc.author_list[0].family if doc.author_list else "AUTHOR_MISSING") }}-{{ ' '.join(doc.title.split()[:10]) }} -ref-format = {{doc.author_listp[0].family if doc.author_list else "AUTHOR MISSING"}}{{doc.year}}{{doc.title[:15]}} +ref-format = {{doc.author_list[0].family if doc.author_list else "AUTHOR MISSING"}}{{doc.year}}{{doc.title.title().translate(None, ' -')[:15]}} # Defaults simply converted to jinja2 header-format = {{doc.html_escape.title}}\n {{doc.html_escape.author}}\n ({{doc.html_escape.year}}) [{{doc.html_escape.tags}}] match-format = {{doc.tags}}{{doc.subfolder}}{{doc.title}}{{doc.author}}{{doc.year}} document-description-format = {{doc.title}} - {{doc.author}} -multiple-authors-format = {au[family]}, {au[given]} +multiple-authors-format = {{au.family}}, {{au.given}} browse-query-format = {{doc.title}} {{doc.author}} notes-name = notes.md