Skip to content

Clarification on difference between references, links, and paths. Desperately needed. #1267

Closed Answered by anoduck
anoduck asked this question in Help
Discussion options

You must be logged in to vote

Ok, ok, ok... So all is answered in the land of me.


Reviewed the Hugo Docs once again, and it combined with sleep, gave more clarity to the above posed question.

What is the difference between a ref and a relref?

After reading the documentation, it appears there is little to no distinction between ref and relref, because ref itself can be used to create both reference links and relative reference links. Where relref does not appear to serve any unique function other than creating solely relative reference links.

From the review of the docs, it appeared as if references were the id attributes assigned to a heading. Ex. <h2 id="some-phrase">Some Phrase</h2> So in this example, if I want…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by anoduck
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
1 participant