WIP: Replace project pages with ones generated from the pool #20

Closed
msz wants to merge 1 commit from msz/www.trr379.de:project-pool-preview into main
Contributor

This demonstrates what would happen if English project pages were replaced by ones generated based on the Pool metadata using code introduced in q02/pool-publication-page@731baf9cc5

As far as I can see, the metadata is maintained, and the diff mostly shows ordering changes (here, items are sorted alphabetically for deterministic outputs). People's names (ie. Hugo page titles) are replaced by labels (ie. Hugo source file names), which should be equivalent and likely more explicit. The biggest change seems to be in the project descriptions: most lines in the diffs are due to text wrapping (here: 80 characters), but we are also losing shortcodes such as {{<lead>}} (which, IMO, was meaningfully used only by Q02) and other formatting features if present - the description is taken verbatim from the Pool.

This demonstrates what would happen if English project pages were replaced by ones generated based on the Pool metadata using code introduced in https://hub.trr379.de/q02/pool-publication-page/commit/731baf9cc55336a235e0a45bb6a148be832932ef As far as I can see, the metadata is maintained, and the diff mostly shows ordering changes (here, items are sorted alphabetically for deterministic outputs). People's names (ie. Hugo page titles) are replaced by labels (ie. Hugo source file names), which should be equivalent and likely more explicit. The biggest change seems to be in the project descriptions: most lines in the diffs are due to text wrapping (here: 80 characters), but we are also losing shortcodes such as `{{<lead>}}` (which, IMO, was meaningfully used only by Q02) and other formatting features if present - the description is taken verbatim from the Pool.
msz changed title from Replace project pages with ones generated from the pool to WIP: Replace project pages with ones generated from the pool 2026-02-13 13:41:37 +00:00
@ -21,4 +22,2 @@
spectroscopy will be used in patients to assess glutamate and GABA levels. In a
further translational approach, the least and the most aggressive/impulsive
recombinant inbred mouse lines identified in [C01 in Frankfurt]({{< relref
"/projects/c01" >}}) will be tested in Mannheim with animal MR spectroscopy at
First-time contributor

This relref dies. I'm not sure if there is a way to fix it, if we add the markup in the pool would look weird.

This relref dies. I'm not sure if there is a way to fix it, if we add the markup in the pool would look weird.
@ -38,1 +28,3 @@
neuroimaging and bioinformatics.
computational modelling projects in the next funding period. This is a
distributed project, with representatives at all main TRR379 sites. As a key
software solution, this project employs DataLad. DataLad is a data management
First-time contributor

This link also dies. But this is a standard markdown link, so we could simply add it to the pool?

This link also dies. But this is a standard markdown link, so we could simply add it to the pool?
@ -23,4 +25,3 @@
infrastructure will help focus on developmental and therapeutic longitudinal
data, training all participating researchers in the necessary skills for future
use. This strategy will lay the foundations for further data-driven
computational modelling projects in the next funding period.
First-time contributor

here, the markup dies.

before:
image

after:
image

here, the <lead> markup dies. before: ![image](/attachments/79e7cd1a-ef93-4614-92b4-6876fbad1068) after: ![image](/attachments/2720c79d-bf4c-4667-819c-96e92379579a)
124 KiB
129 KiB
@ -24,0 +22,4 @@
aims to identify the quantitative trait loci (QTL) and putative candidate genes
contained within the QTL and associate them with specific behavioral responses
of stressed and unstressed cohorts of mice. The publicly available database
GeneNetwork (www.genenetwork.org) will be used to validate the findings which
First-time contributor

just a note: links like this render fine, so this could also be an option for links (instead of markdown links)

just a note: links like this render fine, so this could also be an option for links (instead of markdown links)
Author
Contributor

OK, we've discussed the diff and noted that (at least currently) we would lose some formatting with the generated version, which is not ideal but not too bad. The discussion ran its course.

These pages will be generated and committed if we merge the workflow (#22 or #23), so this PR does not require manual merging.

OK, we've discussed the diff and noted that (at least currently) we would lose some formatting with the generated version, which is not ideal but not too bad. The discussion ran its course. These pages will be generated and committed if we merge the workflow (#22 or #23), so this PR does not require manual merging.
msz closed this pull request 2026-02-25 10:35:26 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
q04/www.trr379.de!20
No description provided.