dataspice icon indicating copy to clipboard operation
dataspice copied to clipboard

Display citation and author fields in the html page

Open ccamara opened this issue 2 years ago • 0 comments

Hello,

I'd like to display the creators' info as well as how to cite in the html page. I know the page is created from this template https://github.com/ropensci/dataspice/blob/main/inst/template.html5 . I also know that I can use a custom template and pass it via build_site(template_path = "templates/custom_dataspice_template.html"), so it would be relatively easy to customise the output (thanks for thinking of a templating system!).

But apparently not every column in the csv files is parsed to shortcodes (is that right word for these? {{description}}, {{#keywords}}), and for example, {{author}} or {{citation}} are missing. That makes me realise that I do not understand where do those shortcodes come from/how are they generated, so I cannot modify that template as I'd like to.

ccamara avatar Mar 24 '23 10:03 ccamara