Skip to content

Commit

Permalink
Merge pull request #125 from omnivore-app/feat/add-author-to-naming
Browse files Browse the repository at this point in the history
feat/add author to naming
  • Loading branch information
jacksonh authored Sep 7, 2023
2 parents c91fba7 + 25fc842 commit dc5765e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ class OmnivoreSettingTab extends PluginSettingTab {
text: "https://omnivore.app/help/search",
href: "https://omnivore.app/help/search",
}),
" for more info on search query syntax"
" for more info on search query syntax. Make sure your Filter (in the section above) is set to advanced when using a custom query."
);
})
)
Expand Down
2 changes: 2 additions & 0 deletions src/settings/template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ export const renderFilename = (
: undefined;
const renderedFilename = Mustache.render(filename, {
title: article.title,
author: article.author ?? "unknown-author",
date,
dateSaved: date,
datePublished,
Expand Down Expand Up @@ -320,6 +321,7 @@ export const renderFolderName = (
date,
dateSaved: date,
datePublished,
author: article.author ?? "unknown-author",
});
};

Expand Down

0 comments on commit dc5765e

Please sign in to comment.