Next-gen group website, built from metadata
  • HTML 97.7%
  • Python 1.1%
  • JavaScript 0.6%
  • Jinja 0.5%
  • CSS 0.1%
Find a file
Stephan Heunis 991f219bdc Add a workflow that registers depictions as portraits
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.
2026-03-02 13:57:30 +01:00
.datalad [DATALAD] new dataset 2025-10-31 08:12:07 +01:00
.forgejo Add a workflow that registers depictions as portraits 2026-03-02 13:57:30 +01:00
archetypes [DATALAD RUNCMD] chore: initialize site 2025-10-31 09:12:23 +01:00
assets feat: render traditional-style member card 2026-02-24 12:00:22 +01:00
code [DATALAD RUNCMD] import project page generator from TRR379 2026-02-24 12:00:22 +01:00
config/_default feat: render project outputs and establish instruments taxonomy 2026-02-28 17:36:29 +01:00
content chore: auto-generate content from metadata 2026-03-02 04:01:11 +00:00
layouts feat: rawhtml shortcode 2026-02-24 12:00:22 +01:00
page_templates feat: also consider title as list item text 2026-03-01 20:23:39 +01:00
static/img chore: import placeholder and basic CSS for old member page 2026-02-24 12:00:22 +01:00
themes Register congo theme as a submodule 2025-10-31 08:22:12 +01:00
.gitattributes chore: import placeholder and basic CSS for old member page 2026-02-24 12:00:22 +01:00
.gitignore chore: git(-annex) setup 2025-10-31 09:12:23 +01:00
.gitmodules Register congo theme as a submodule 2025-10-31 08:22:12 +01:00
package.json chore: tooling to tailor CSS 2026-02-24 12:00:22 +01:00
README.md doc: start README 2025-10-31 09:12:23 +01:00

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).