www-from-model/assets
Stephan Heunis c3bd9caf91 Demo use case: display a list of distributions from DataDownload documents in bundle
The idea is that a dataset bundle can have any number of DataDownload documents
(json.gz) identified by a commit string, with the same identifiers being available
in the dataset's list of 'distributions' ('commit' key) in the front matter params.
The hugo term page template will render the new 'term-distributions' partial if it
finds any distributions in the page params. This uses the new filetree.js functionality
to fetch and decompress the associated DataDownload json-ld document (for the commit
that the user selected) and to then turn that object into a file tree hierarchy which
can more easily be rendered by using javascript to manipulate the expand/collapse
behavior of the underlying details-summary tags that are used for the directory nodes.

In summary, this only shows for a dataset bundle that has distributions in json.gz files
which will be loaded once the user selects them, and the whole file tree can be explored.
2026-06-16 22:55:24 +02:00
..
css Customize header to render submenu dropdowns 2026-05-28 22:41:37 +02:00
icons Demo use case: display a list of distributions from DataDownload documents in bundle 2026-06-16 22:55:24 +02:00
img add taxonomy-flavoured meerkat placeholder images for grid layout 2026-06-02 09:57:57 +02:00
js TMP Example site to have something to build while finishing the setup 2025-10-31 10:37:20 +01:00