Templater stopped adding aliases to notes

I’ve used the same daily note template for months and recently, templater has stopped updating the alias.

<%"---"%>
aliases: <% tp.date.now("dddd Do MMMM YYYY") %>
created: <% tp.date.now("YYYY-MM-DD hh:mm") %>
modified: 
reviewed: 
<%"---"%>
# <% tp.date.now("dddd Do MMMM YYYY") %>

It’s only the alias which isn’t working, the other tp.date functions are working fine.

Can’t figure this out.

In the MD file, the aliases is being shown:

---
aliases: Sunday 8th June 2025
created: 2025-06-08 08:23
modified: 2025-06-08 09:29
reviewed:
---
# Sunday 8th June 2025

However within Obsidian, on properties it’s blank and trying to reference the aliases with [[2025-06-08|]] is also blank.

So the alias is present in the markdown source file (opened in vs code, imported by templater), but Obsidian isn’t picking it up (not viewable/found within Obsidian) and therefore not function-able within Obsidian

1 Like

Are you using Obsidian v1.9.x?

We have officially removed support for the properties tag, alias, cssclass in favor of tags, aliases and cssclasses. In addition, the values of these properties must be a list. If the current value is a text property, it will no longer be recognized by Obsidian.

https://obsidian.md/changelog/2025-05-21-desktop-v1.9.0


Try changing the template to:

<%"---"%>
aliases:
  - <% tp.date.now("dddd Do MMMM YYYY") %>
created: <% tp.date.now("YYYY-MM-DD hh:mm") %>
modified: 
reviewed: 
<%"---"%>
# <% tp.date.now("dddd Do MMMM YYYY") %>

This also works:

aliases: [<% tp.date.now("dddd Do MMMM YYYY") %>]

So after running the template, either:

---
aliases: 
  - Sunday 8th June 2025
---

or

---
aliases: [Sunday 8th June 2025]
---

will work fine and the same as before Obsidian v1.9.x.

1 Like

Will the next version of Obsidian automatically change these properties? I, too, have hundreds of notes with properties of tags, aliases, and cssclasses. When I try to change the property type to list on any of these in version 1.8.10, it will not accept the change.

Thank you very much.

Changed the template as you’ve suggested and it’s now working, thanks again.

<%"---"%>
aliases:
  - <% tp.date.now("dddd Do MMMM YYYY") %>
created: <% tp.date.now("YYYY-MM-DD hh:mm") %>
modified: 
reviewed: 
<%"---"%>
1 Like

Great! As we’re using a beta, things are still in flux but

aliases:
  - blue fishes
cssclasses:
  - blue-bg
tags:
  - fish

(for example) is the preferred and safe formatting/syntax going forward for these three Properties.