MacOS High Sierra 10.13.6
hugo-0.49.2.high_sierra.bottle.tar.gz
Hello, I hope someone can let me know where I’m going wrong.
I have Hugo running me a model site for web integrations. Basically it scrapes a flat copy of my provider’s sandbox site and dumps it to /content/pages following the providers folder structure ( so like
/pages/account/create.html
/pages/account/update.html
/pages/cart/details.html
- I do not have index.md files in the folders as for some reason it silently refused to build with those in.
- As I don’t need any params, the front matter is just the lines.
I have my client’s layouts as head and foot templates in /themes. All works great and props to you for your recent work on Pipes and Theme Inheritance which allowed me to use Hugo instead of laboriously building this in express! Anyway, where I’m going wrong is, Hugo cannot build anything in /content unless, while it is serving/watching, I trigger a change in the front matter of the files in /content.
So literally 1. find in files, add or remove a key:value pair in front matter
2. Save all.
And it builds any page I save a change to. --debug and --verbose give me no errors I can act on. Here’s a standard report:
WARN 2018/10/21 07:50:28 No translation bundle found for default language “en”
INFO 2018/10/21 07:50:28 Using config file: /Users/PWD/hugosite/config.toml
Building sites … INFO 2018/10/21 07:50:28 syncing static files to /Users/PWD/hugosite/docs/
INFO 2018/10/21 07:50:28 found taxonomies: map[string]string{“category”:"", “tags”:""}
| EN
±-----------------±—+
Pages | 74
Paginator pages | 0
Non-page files | 0
Static files | 2
Processed images | 0
Aliases | 0
Sitemaps | 1
Cleaned | 0
Total in 20 ms
Files themselves all have -rw-r–r-- / 664 and there’s no difference between the perms on files that build and those that don’t. So all the static files build, sitemap (with one page), index.html and the sass builds.
Can anyone let me know what I am doing to cause this and how to fix it? I cannot share my repo unfortunately.