All checks were successful
Deploy on webserver / Build site and deploy on success (push) Successful in 1m12s
Along the same lines as 478015 which introduced a generalization for the taxonomy list page,
this commit generalizes the term page template, so that we can remove all duplicates for
taxonomy-specific layout templates.
Several new partials are introduced that are now used in a term page heading and info section,
specifically for the date, identifiers, links, licenses, and related terms such as persons or
topics. These same partials are also worked into the existing 'taxonomy-list-vertical-item'
partial to remove further redundant code. As part of these changes, new icons were added. Also
content has to be updated to change 'date_created' to 'date' in order to streamline its handling
in the single generalized template. The associated jinja templates were also updated with this
change.
The term page layout can be customized in the same taxonomy's '_index.md' page front matter as
is done for the taxonomy list page customization. Newly introduced options are all sub-properties
of the new 'term' property under 'params':
- 'person_display': When a list of persons are rendered for a given term, what should those
people be called? This is a string value that defaults to 'Contributors'.
- 'depiction_type': The type of depiction that should be rendered for the given term page (and
in 'taxonomy-list-vertical-item'), if such a file exists in the term bundle. This expects a
string that will be matched against image files in the term bundle, and will default to 'depiction'.
This option is necessary because the depiction registration workflow saves depiction files with
names representing their types, e.g. 'portrait', 'logo', etc.
- 'show_relations': In which format should term relations be displayed at the bottom of the term page,
if at all. The default is to display no relations (explicitly: 'none'). Other options include
'expandable', which will show list of expandable taxonomy groups, each group containing all terms of
that taxonomy that relate to the current term; and 'congo', which will render the Congo-theme default
list of related terms.
Here are two example configurations for the term options:
'content/persons/_index.md':
---
title: Persons
params:
term:
depiction_type: portrait # portrait | logo | depiction (default)
show_relations: expandable # expandable | congo | none (default)
---
'content/publications/_index.md':
---
title: Publications
params:
term:
person_display: Authors # defaults to 'Contributors'
---
Finally, new config is added to several taxonomy index pages to perform these customizations for terms:
- persons: should render the 'portrait' depiction type and show expandable relations
- publications: display persons as 'Authors'
- instruments: should render the 'logo' depiction type
53 lines
2.3 KiB
Markdown
53 lines
2.3 KiB
Markdown
---
|
|
title: studyforrest-data-multires3t
|
|
persons:
|
|
- ayan-sengupta
|
|
- michael-hanke
|
|
- orcid:0000-0001-5840-5658
|
|
topics:
|
|
- cognitive-science
|
|
params:
|
|
graphRootNodePID: xyzrins:datasets/913f61f2-0197-4b16-98b7-6d0080df3bf9
|
|
pid: xyzrins:datasets/913f61f2-0197-4b16-98b7-6d0080df3bf9
|
|
doi: null
|
|
date: null
|
|
source_code_url: https://hub.psychoinformatics.de/studyforrest/data-multires3t
|
|
documentation_url: null
|
|
title: studyforrest-data-multires3t
|
|
description: "This dataset consists of empirical 3T fMRI data recorded at three spatial\
|
|
\ resolutions (1.4 mm, 2 mm, and 3 mm isotropic voxel size) for orientation decoding\
|
|
\ in visual cortex \u2014 in order to test hypotheses on the strength and spatial\
|
|
\ scale of orientation discriminating signals. This is an extension of the studyforrest\
|
|
\ project. All seven participants previously volunteered for the audio-only and\
|
|
\ the audio-visual Forrest Gump study. Five of the seven participants also participated\
|
|
\ in a matching study using identical protocols, but 7T data acquisition (with the\
|
|
\ same the three spatial resolutions used here, plus a 0.8 mm acquisition). The\
|
|
\ dataset is compliant with the BIDS data description standard (http://bids.neuroimaging.io).\
|
|
\ It is an Extension of a matching fMRI dataset (Sengupta, et al., 2017; OpenFMRI\
|
|
\ ds000113c) on participants performing a central fixation task while being stimulated\
|
|
\ with oriented visual gratings. This dataset extends the previous one with acquisitions\
|
|
\ for 3 matching spatial resolutions (1.4, 2.0, and 3.0 mm) at 3T (complementing\
|
|
\ the previous 7T acquisitions at 0.8, 1.4, 2.0, and 3.0 mm). Five of the total\
|
|
\ of seven participants are identical in both datasets. All participants are part\
|
|
\ of the studyforrest.org project."
|
|
kind: null
|
|
author:
|
|
- pid: xyzrins:persons/ayan-sengupta
|
|
given_name: Ayan
|
|
family_name: Sengupta
|
|
- pid: xyzrins:persons/michael-hanke
|
|
given_name: Michael
|
|
family_name: Hanke
|
|
- pid: orcid:0000-0001-5840-5658
|
|
given_name: Stefan
|
|
family_name: Pollmann
|
|
topic:
|
|
- pid: xyzrins:topics/cognitive-science
|
|
display_label: Cognitive science
|
|
license:
|
|
- pid: spdxlic:PDDL-1.0
|
|
label: Open Data Commons Public Domain Dedication & License 1.0
|
|
url: https://spdx.org/licenses/PDDL-1.0
|
|
|
|
---
|
|
|