I am writing the markdown file for a section (index.md) which is called “diy”. In it I would like to link to another document within the same section, which is called parts-required. Within the “parts-required” folder, I have a single file called index.md. I am using page bundles if that matters.
I have used every permutation I can think of but I still get the same error: [en] REF_NOT_FOUND: Ref "tools-required/" I have tried the following for both rel and relref:
I have the structure in my content folder:
content/
content/diy/index.md
content/diy/article1/index.md
content/diy/article2/index.md
content/diy/article3/index.md
content/diy/article4/index.md
I am trying to put a link in the markdown of content/diy/index.md so I can link to this page content/diy/article3/index.md
Thank you this worked. I did not think to remove the greater than and less than characters (left and right carrot).
What got me confused is the docs about Ref and Relref they only reference using the left and right carrot character. When using ref and relref in markdown, I didn’t realise I should omit these characters. It would be great if this information was in the docs.
make the references look like [link text]({{< ref "/diy/article3/index" >}}) or [link text]({{< ref "article3/index" >}}) or [link text]({{< ref "article3/" >}})
If I omit the index for this format - [link text]({{< ref "/diy/article3/index" >}}) - I get a page not found error
In the case of [link text]({{< ref "article3/" >}}) I get the warning below.
WARNING: make non-relative ref/relref page reference(s) in page "/diy/_index.md" absolute, e.g. {{< ref "/blog/my-post.md" >}}