Skip to content

This repository stores all the content for the diag websites.

License

Notifications You must be signed in to change notification settings

DIAGNijmegen/website-content

Repository files navigation

DIAG Website content

This repository stores all the content and source code for the DIAG websites. From this repository multiple Pelican-powered websites are built, based on a central content database.

Build and Deploy

Websites

Live websites:

Updating the content

Please see the documentation for guides on updating the sites.

Building the website locally

To build a website:

  1. Run ./parse_publications.sh to parse the .bib file.
  2. Run WEBSITE=website-pathology ./copy_content.sh to copy files for any website (pathology in this example).
  3. Run pelican in website-pathology (or any other website): pelican --autoreload
  4. Start the development server: pelican --listen

(On Non-windows you can combine step 2 and 3 with pelican --autoreload --listen)

To build the css:

  1. Run css build in radboudumc-theme: npm run deploy-watch

Design resources

If you design an image/poster or similar for the website, please store the design files (if not too big) in the directoy content/src/ in the apropriate subtree. This allows others to update media more easily should they ever become outdated.