Hello, a question for someone who understands how output formats work.
I see from https://gohugo.io/templates/output-formats that I can create a page in that format, but, what I’d like to do is generate a vcard for records in a json file in data. I want to let visitors be able to quickly download the vcard for each contact.
Because vcards can have multiple entries in a single text file, I assume I can make one custom template for a single page that represents a big vcard with lots of entries, pulling from the json. I’m not sure if this is useful for people though in practice.
Of course, I can always mark up the records in html in “hcard” microformat (range over the json from data and make a table on a page, with the microformat markup), but, that depends on browser plugins to work. I can also parse the json into vcards with a separate script before generating the site, but, I’d like to see if I can somehow get hugo to do it.
Any advise appreciated. Thanks!