fedwiki / wiki-server

Federated Wiki client and server in Node.js
Other
153 stars 35 forks source link

References should be included in backlinks #169

Closed andrewshell closed 2 years ago

andrewshell commented 2 years ago

I noticed that if I created a reference to another page, the originating page was not included in the target page's backlinks.

I added the logic to check for references and add their targets to the map of links in the sitemap.json file

WardCunningham commented 2 years ago

I'm unsure what additional constrains there might be on this logic so I am happy to leave it to Paul's careful reading.

paul90 commented 2 years ago

Thank you Andrew. They should certainly should be included.

The sitemap also gets updated in the client, I'll make the changes over there.