DIAGNijmegen/website-content

pages accessible even though not linked on website

martvanrijthoven opened this issue · 1 comments

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

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:

  • content/pages/defaults/404.md
  • content/pages/defaults/calendar.md
  • content/pages/defaults/colofon.md
  • content/pages/defaults/home.md
  • content/pages/defaults/members.md

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

  • content/pages/defaults/presentations.md
  • content/pages/defaults/projects.md
  • content/pages/defaults/publications.md
  • content/pages/defaults/software.md
  • content/pages/defaults/thesis-gallery.md
  • content/pages/defaults/vacancies.md