Next-gen group website, built from metadata
- HTML 97.7%
- Python 1.1%
- JavaScript 0.6%
- Jinja 0.5%
- CSS 0.1%
The workflow does the following: - Get all persons for which pages are generated (i.e. associated with the main project) - Get all depictions of type 'Portrait' - keep depictions that are 'about' any of the pids of the relevant persons - keep depictions that have distributions - keep distributions that have characterized_by with predicate==dcat:downloadUrl - extract the url (i.e. object) - register the file in the www-from-model dataset using git annex addurl The depiction is added as 'portrait.<ext>' alongside the '_index.md' page of the person page being generated. This is done so that 'qri render-record' and the associated jinja template can take care, separately, of rendering a portrait if a 'portrait.<ext>' image file is available. |
||
|---|---|---|
| .datalad | ||
| .forgejo | ||
| archetypes | ||
| assets | ||
| code | ||
| config/_default | ||
| content | ||
| layouts | ||
| page_templates | ||
| static/img | ||
| themes | ||
| .gitattributes | ||
| .gitignore | ||
| .gitmodules | ||
| package.json | ||
| README.md | ||
Metadata-based website of the Psychoinformatics group
This website is using hugo to build site content that is (mostly) pulled from a metadata system, using a formal metadata model for all content.
This repository should not see any manual content edits. All custom editing is constraint to the presentation (looks/style). Content changes are exclusively done via editing the respective records in the underlying metadata system.
Requirements
As per congo theme version 2.12.0 (2025-06-22), hugo 0.146.0 or later is required.
Setup notes
Hugo doesn't like symlinks (cheers windows!). Hence all files are annexed in
unlocked mode (git annex config --set annex.addunlocked true).