datapurifier / landingpage-in-a-box

Hugo-based method for building a landing page system from DataCite metadata
MIT License
0 stars 0 forks source link

Write additional text content into item markdown #4

Closed skybristol closed 11 months ago

skybristol commented 11 months ago

So far, I've only written primary title, descriptions (abstracts and others), and URLs into the main DataCite asset pages. I need to work in a few additional details from other descriptive text fields in the DataCite schema (e.g., other types of titles, etc.). I'll work up other tasks to deal with other parts of the schema like geospatial information.

skybristol commented 11 months ago

I think I've put in everything I want to at this point, though I probably need to deal with a few more corner cases on things like titles. I've added in all description properties and incorporated a data-driven section at the end of the main pages rendered by _default/single.html in the template. The data-driven piece looks up a DOI from the metadata parameter containing this value in the doi.json data cache and pulls in additional content, including related identifiers that are now rendered at the end of the page.