So, backlinks are just links from other pages to the page you are currently on. If I link another page to this page, There could be a section containing these links.
So if we've got a file structure like the folliwing (with the links being indented):
.
├── A
│ └── B
├── B
├── C
│ └── B
├── D
└── E
└── A
(A and C link to B, E links to A), we would go through all the files and look at the links. For example if we're at post "A", we'd see that it links to "B", so we append "A" to "B" (links are added to a .backlinks file, you'll see why later):
When a page is mentioned somewhere on the interwebz™, a request can be sent to
that page informing it that it has been linked to. This adds another layer to
the whole backlinking system: internal and external backlinks.
By using the backlinks file as a sort of intermediate representation in the
build process (raw markdown files -> companion files with further meta info ->
output format), we can add content there dynamically and also store this
longterm for offline/future reference.
emile - 1734444931.024696s - generated using vokobe "0.1.3"