matcornic / hugo-theme-learn

Porting Grav Learn theme to Hugo
https://learn.netlify.com/en/
MIT License
1.61k stars 1.28k forks source link

index.md not rendering from content directory #357

Open rkling01 opened 4 years ago

rkling01 commented 4 years ago

Hi,

I just upgraded to Hugo Static Site Generator v0.58.3-4AAC02D4 linux/amd64 BuildDate: 2019-09-19T15:30:47Z For some reason the _index.md file in the content directory isn't rendering any of the markdown - I get the navigation and other content but just not seeing anything else on the page related to the markdown so the net result is the page is blank.

Just to clarify - all the other _index.md files in different directories under content render fine - its just the _index.md in the root of the content directory (which would be the page that renders when the site is launched).

Any thoughts on what might be happening? Thanks!

Also this link for some discussion around my issue https://discourse.drone.io/t/drone-hugo-plugin-question/6560/4

rkling01 commented 4 years ago

Just checking back to see if there might be any ideas why I'm experiencing this particular issue. I've tried quite a few things and can't seem to figure out the cause. Any thoughts would be greatly appreciated!

mirisbowring commented 4 years ago

Are you using the multilingual mode?

rkling01 commented 4 years ago

Sorry somehow missed the notification of a reply. I don't believe I'm using multilingual - here is my config.toml

baseURL = "https://github.xxx.com/enterprise-integration-docs/"
languageCode = "en-us"
title = "Enterprise  Platform"
publishDir = "."
buildDrafts = "True"
# staticDir = ["./static"]
theme = "hugo-theme-learn"

[params]
  # Change default color scheme with a variant one. Can be "red", "blue", "green".
  editURL = "https://github.xxx.com/enterprise-integration-docs/tree/master/content/"
  themeVariant = "blue"

[outputs]
home = [ "HTML", "RSS", "JSON"]
page = ["HTML"]