obsidian-auto-template-trigger icon indicating copy to clipboard operation
obsidian-auto-template-trigger copied to clipboard

Template variables are not filled in.

Open AlexKucera opened this issue 7 months ago • 1 comments

Or rather the title field gets filled in as Untitled, since it triggers the template creation before I has a chance to input the title.

With a template like this:

---
title: "{{title}}"
author: Alexander Kucera
created:
status:
tags:
---
# {{title}}


## References

I get a page that looks like this:

Testing a new note.md
---
title: "Untitled"
author: Alexander Kucera
created:
status:
tags:
---
# Untitled


## References

Is there a way to make this work?

AlexKucera avatar Sep 07 '25 13:09 AlexKucera

@AlexKucera I believe if you create a new note with the ctrl/command + O command (find or create note), then it would work as you would expect.

Issue is, when we click on the create note button, a new note is created with the name: Untitled, and the template is applied afterwards.

If we use the ctrl + O command, a new note is created with the entered name, thus the {{title}} will be correct.

Image

numeroflip avatar Oct 18 '25 17:10 numeroflip