How to use the application/pdf custom media type

I understand how I can delcare new outputFormats for json and use that just fine, but what exactly can i do with a outputFormat that is of mediaType: application/pdf?

Is there a way to make an actual readable pdf completely based off a defined pdf template like single.example.pdf? If so, what would I need to do?

No, there is not.

Upvote this issue: Investigate PDF as an output format · Issue #6332 · gohugoio/hugo · GitHub

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.