Edit the website
The main TRR379 website is updated on a regular basis. Much of the content, including contributor and publication lists, updates automatically whenever member submit information through the knowledge pooling tool. Website updates should therefore happen through the metadata pooling system wherever possible. For those who need to edit the website directly (e.g., to add news items), the site is built with Hugo and stored as a DataLad dataset, meaning all changes are version-controlled. The repository README contains instruction on how to obtain a clone of the website for working on it, and testing it locally.
- Clone the repository and then enter it:
datalad clone https://hub.trr379.de/q04/www.trr379.de.git
cd www.trr379.de
- Download all content, including the theme:
datalad get -r .
- Start the local preview server:
hugo server
- After editing, push your changes:
datalad push
Important
Image requirements: All images must be added using DataLad (datalad save -m "message") or git-annex (git annex add <file>), and never with a plain git add.
Page thumbnails should be a minimum of 320 by 240 pixels with an aspect ratio of 4:3.
- Alternatively:
Note
Once a change has been submitted, it is not reflected on the website immediately. All changes are reviewed and possibly adjusted by the website editor team of the Q04.