Hi, I’m trying to get some very minimal Hugo content displaying in order to learn the tool, but I’m having a bit of trouble getting consistent results between what’s served locally and deployed site.
I’m essentially trying to implement the homepage example from the docs here. https://gohugo.io/templates/homepage/ . Locally when I run hugo serve
no content from the content directory post displays locally. Likewise when I run hugo
the output in public/
does contain any content from post
. However when I deployed my site to Netlify there was content in `post displayed.
├── README.md
├── archetypes
│ └── default.md
├── config.toml
├── content
│ ├── _index.md
│ └── post
│ └── intro.md
├── data
├── layouts
│ ├── index.html
│ └── post
│ └── post.html
├── resources
│ └── _gen
│ ├── assets
│ └── images
├── static
└── themes
All content is marked as draft: false.
There are warnings about taxonomy issues when running both locally and during deployment, but I’m guessing that shouldn’t be causing any issues I’m experiencing.
11:15:17 PM: WARN 2019/11/19 07:15:17 Found no layout for "page", language "en", output format "HTML": create a template below /layouts with one of these filenames: post/single.en.html.html,
...
11:15:17 PM: WARN 2019/11/19 07:15:17 Found no layout for "taxonomyTerm", language "en", output format "HTML": create a template below /layouts with one of these filenames:
...
11:15:17 PM: WARN 2019/11/19 07:15:17 Found no layout for "taxonomyTerm", language "en", output format "HTML": create a template below /layouts with one of these filenames: ...
Here’s a repo of the site. Thanks in advance! https://gitlab.com/dylankb/hugo-example