Remove the Related Link in Hugo Acadamic

How to remove the related link on a specific page or globally.

When writing course documentation I ran into the following problem. Hugo Academic tries to work out from tags, categories, and page titles if pages are related. Normally this is very useful, but if you have more than one course each having a lecture X page you do not really want a link between the two lecture X pages. There are two ways of remove the related links.

  • If you want to do it globally then edit the params.toml file and change setting of the show_related variable:
show_related = {docs = false, page = false, post = true, project = true, publication = true, talk = true}
  • If you want to do it page by page, then add the following to your page header:

show_related: false

Justin Pearson
Justin Pearson
Docent in Computing Science

Lecturer and researcher at Uppsala University.