modiimedia / contentful-hugo

A CLI tool that pulls data from Contentful and turns it into markdown files for Hugo and other static site generators. It also includes an express server that can be used for local development and content previews

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make Hugo Build Options Configurable

joshmossas opened this issue · comments

Hugo Build Options allow you to disable a page from showing up in list pages or disabled it getting rendered as a single. Adding the ability to change this via the config would be good.

I think headless content should probably have the following set as default. And then we would allow the ability for it to be overridden.

_build:
    render: never
    list: never
    publishResources: never 

Closed in favor of #47