DIAGNijmegen / website-content

This repository stores all the content for the diag websites.
MIT License
5 stars 73 forks source link

pages accessible even though not linked on website #418

Closed martvanrijthoven closed 2 years ago

martvanrijthoven commented 2 years ago

e.g, thesis gallery is accessible though not linked on diagnijmegen

martvanrijthoven commented 2 years ago

all the default pages in ./content/pages/defaults are copied to all websites. However not all the pages are default pages. For example not every website has a thesis gallery and not every website has a software page. Though every website has a colofon.

The default pages are now copied with this script ./copy_content.sh A possible solution is copying the default pages with the copy_content.sh but non-default pages based on the sections defined in the pelican config. At first sight it looks like these make sense to consider as default pages:

and these non-default and therefore should be specified in the pelicanconfig and copied if present: