# How to specify links within frontmatter?

**URL:** <https://forum.obsidian.md/t/how-to-specify-links-within-frontmatter/39319>\
**Category:** Help\
**Created:** [June 22, 2022, 1:49am UTC](https://forum.obsidian.md/t/how-to-specify-links-within-frontmatter/39319 "2022-06-22T01:49:48Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![softplus](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/s/5f8ce5/32.png) [@softplus](https://forum.obsidian.md/u/softplus)\
**Post date:** [June 22, 2022, 1:49am UTC](https://forum.obsidian.md/t/how-to-specify-links-within-frontmatter/39319/1 "2022-06-22T01:49:48Z")

</div>

Is it currently possible to specify links in frontmatter? I saw there have been multiple feature request threads in the past about this functionality but I haven’t been able to find any recent discussions regarding it.

---

<div class="post-metadata">

**Author:** ![scholarInTraining](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/s/cc9497/32.png) [@scholarInTraining](https://forum.obsidian.md/u/scholarInTraining)\
**Post date:** [June 22, 2022, 5:04pm UTC](https://forum.obsidian.md/t/how-to-specify-links-within-frontmatter/39319/2 "2022-06-22T17:04:40Z")

</div>

What do you mean by “specify” here?  
I use the community plugin Breadcrumbs to help me navigate through a few of my notes. For those notes, I have frontmatter that looks like:

```auto
---
aliases: [ShortName, LongerName]
prev: "[[pathToPreviousNote|prevShortName]]"
next: "[[pathToNextNote|nextShortName]]"
---

```

These links do not show up in my graph and will not update if I rename the note I have linked to, but for the situation where I am using these, I don’t want the links in my graph and I am ok with manually dealing with renames.

---

<div class="post-metadata">

**Author:** ![softplus](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/s/5f8ce5/32.png) [@softplus](https://forum.obsidian.md/u/softplus)\
**Post date:** [June 23, 2022, 2:37pm UTC](https://forum.obsidian.md/t/how-to-specify-links-within-frontmatter/39319/3 "2022-06-23T14:37:04Z")

</div>

Thanks for the response. I’m currently using that approach, but I was hoping there was a way to do this without the limitations you mentioned. The fact that this type of link is updated upon name changes and isn’t detected by the graph view is a problem for me.

---

<div class="post-metadata">

**Author:** ![scholarInTraining](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/s/cc9497/32.png) [@scholarInTraining](https://forum.obsidian.md/u/scholarInTraining)\
**Post date:** [June 23, 2022, 4:58pm UTC](https://forum.obsidian.md/t/how-to-specify-links-within-frontmatter/39319/4 "2022-06-23T16:58:23Z")

</div>

If you want the links in the graph, then yes take them out of the frontmatter. You could put them in a folded-up heading at the bottom or top of your note to keep them out of the way.

---

<div class="post-metadata">

**Author:** ![I-d-as](https://forum.obsidian.md/user_avatar/forum.obsidian.md/i-d-as/32/59965_2.png) [@I-d-as](https://forum.obsidian.md/u/I-d-as)\
**Post date:** [June 24, 2022, 6:44am UTC](https://forum.obsidian.md/t/how-to-specify-links-within-frontmatter/39319/5 "2022-06-24T06:44:31Z")

</div>

That breadcrumbs technique seems very interesting, @scholarInTraining. I’m curious what the workflow is and why certain notes you’d prefer not linking but still having this navigation. I assume it is pretty straightforward, but something tells me you have quite an elaborate set of experimental systems going on.

Also, I agree that the “backmatter” approach can be great for all types of metadata, whether it be fields storing links, text, or even tags; although I am not using it at the moment. I’m sure you are both well aware, but I figured I’d add that in certain cases where you are embedding the entire note with the backmatter elsewhere and would prefer excluding that bottom heading full of metadata from showing, it can be helpful to comment it out.

%%  
## Backmatter  
Key1:: #value1  
Key2:: [[value2]]  
Key3:: value3  
%%

Anyways, thanks for the inspiration.

---

<div class="post-metadata">

**Author:** ![scholarInTraining](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/s/cc9497/32.png) [@scholarInTraining](https://forum.obsidian.md/u/scholarInTraining)\
**Post date:** [June 24, 2022, 5:15pm UTC](https://forum.obsidian.md/t/how-to-specify-links-within-frontmatter/39319/6 "2022-06-24T17:15:54Z")

</div>

Great idea with the commented out backmatter!

My use of Breadcrumbs is actually pretty straightforward so far: I don’t want my daily notes or weekly notes linked to eachother in a giant long chain in my graph that will obscure other connections. Most of my daily notes are orphans, and so for the ones that do link elsewhere I might want to be able to notice those links later. Breadcrumbs (after a non-trivial amount of reading and messing with the settings) allows me to have next/previous links on top of my daily and weekly notes but preserves the orphan status of those notes that don’t otherwise have links so I can hide them from the graph view. Hopefully that makes sense?

---

<div class="post-metadata">

**Author:** ![I-d-as](https://forum.obsidian.md/user_avatar/forum.obsidian.md/i-d-as/32/59965_2.png) [@I-d-as](https://forum.obsidian.md/u/I-d-as)\
**Post date:** [June 24, 2022, 6:07pm UTC](https://forum.obsidian.md/t/how-to-specify-links-within-frontmatter/39319/7 "2022-06-24T18:07:32Z")

</div>

It makes perfect sense. I appreciate the helpful response. I am going to give it a try.

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://forum.obsidian.md/uploads/default/original/3X/b/e/bec35fbd23ab28909bb6bfe62cb32eb82dd34019.png) [@system](https://forum.obsidian.md/u/system)\
**Post date:** [September 22, 2022, 6:07pm UTC](https://forum.obsidian.md/t/how-to-specify-links-within-frontmatter/39319/8 "2022-09-22T18:07:40Z")

</div>

Closed on September 22, 2022, 6:07pm UTC

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