Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

template not applied when filename begins with a letter #59

Closed
chieffoley opened this issue Aug 26, 2020 · 3 comments
Closed

template not applied when filename begins with a letter #59

chieffoley opened this issue Aug 26, 2020 · 3 comments

Comments

@chieffoley
Copy link

I changed the default file name to put the date at the end of the file name. After that I noticed that the template is not automatically applied when creating a new zettel. I did some experimenting and found that if I put a number at the beginning of the file name, the template works again.

These zettel names will bring in the template automatically:

[[2020-08-26-test-z|test-z]]
[[1test-it-2020-08-26|1test-it]]

These don't:

[[test-it-2020-08-26|test-it]]
[[-test-it-2020-08-26|-test-it]]

I would like to have the words come first in the file name, any ideas on how to get that to work?

@michal-h21
Copy link
Owner

Thanks for the report, I can confirm. It should be fixed by 2f56a21.

@chieffoley
Copy link
Author

That fixed it - thanks so much!

@michal-h21
Copy link
Owner

Great! It was luckily easy to fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants