Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.md file in data dir causes hugo to fail #36

Open
mxmason opened this issue Aug 10, 2018 · 0 comments
Open

.md file in data dir causes hugo to fail #36

mxmason opened this issue Aug 10, 2018 · 0 comments

Comments

@mxmason
Copy link
Contributor

mxmason commented Aug 10, 2018

hugo version: 0.46

Steps to reproduce:

  • Update hugo (to at least 0.4.x I assume)
  • run cupper's npm run build

Expected results:

  • Happy, functional cupper build

Actual results:

  • Failed to read data from cupper/README_BLANK.md/README_BLANK.md: Data not supported for extension 'md'

Per a Hugo forum discussion, it appears that:

  • only .csv and .json files are allowed in the data/ directory
  • previous versions evidently ignored errors related to this

Placing README_BLANK in another directory seems to work. e.g., create a clean dir, move README_BLANK, update the clean.js script appropriately.

(possibly related to #35)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant