Automatically change YAML frontmatter property tags based on backlinks within current file

Is there a way to automatically update yaml frontmatter property tags based on if the current page has backlinks or not?

What I’m trying to do

Basically, I want the following logic to be applied automatically in my template (FYI: the name of my property is notetype):

if backlinks = 0, notetype == “boat”


Could this be done with a script or by using templater/dataview in the YAML frontmatter itself?

I don’t know of a way but it sounds like something that should be possible with 1 or more plugins. If there’s not existing way it should be possible to make a plugin that does it.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.