Troubleshooting transclusion
Currently having trouble making a transcluded note appear in the About page. ideally it should like this
!2025-03-21#Transitioning from supermemo
!2025-03-21#Transitioning from supermemo
The issue
I think the issue is that my about page and note I'm trying to transclude are in different folders. Either that or I just don't know how to put in the correct path leading to the note I want to transclude. When I transclude notes and view it offline in my vault it looks just fine.
!About
The above should look like this

Troubleshooting
I can see the path for my image works when I start from site/
as my root folder.
so then... maybe
!notes/About.md
This should work
Still Wrong
I was trying to copy the syntax from my scp page

where that produces the correct image
I think I see the problem
I need to use single brackets


And the other problem
just noticed there's a leading slash, and the slashes in the path are facing the other way T_T

So now the link to the image works when using []
single brackets and the direct path. another thing that cursor AI pointed out is that files with spaces in the name replace the space with %20
Another attempt at transcluding
Gonna try to transclude the about page
!About
didn't work
how bout

that didn't work either. maybe

Let's try with the permalink
The About page has "permalink":"/about/"
in its frontmatter, so maybe:

Let's try with the dg-path
The About page has "dg-path"
in its frontmatter, so let's try that format:
First, using the dg-path:
!about/
Or using the permalink:
!/about/
Or using the relative path from notes:
!About
!About
Or the full path:
!src/site/notes/About
Or with the .md extension:
!src/site/notes/About.md
Maybe it's because they're in different folders
what if I try transcluding yesterday's note? It's in the same folder as this one.
Let's try a few ways:
-
Simple reference:
!2025-03-21 -
With section reference:
!2025-03-21#Transitioning from supermemo -
With relative path in same folder:
!Daily Notes/2025-03-21 -
With permalink from frontmatter:
!/daily-notes/2025-03-21/ -
With dg-path from frontmatter:
!Daily Notes/2025-03-21
I'm not sure what else to try at this point.
I may move to a different deployment solution in the future.