{"action":"created","issue":{"url":"https://api.github.com/repos/gohugoio/hugo/issues/5086","repository_url":"https://api.github.com/repos/gohugoio/hugo","labels_url":"https://api.github.com/repos/gohugoio/hugo/issues/5086/labels{/name}","comments_url":"https://api.github.com/repos/gohugoio/hugo/issues/5086/comments","events_url":"https://api.github.com/repos/gohugoio/hugo/issues/5086/events","html_url":"https://github.com/gohugoio/hugo/issues/5086","id":351210592,"node_id":"MDU6SXNzdWUzNTEyMTA1OTI=","number":5086,"title":"post and posts folder","user":{"login":"thecodeah","id":21268739,"node_id":"MDQ6VXNlcjIxMjY4NzM5","avatar_url":"https://avatars0.githubusercontent.com/u/21268739?v=4","gravatar_id":"","url":"https://api.github.com/users/thecodeah","html_url":"https://github.com/thecodeah","followers_url":"https://api.github.com/users/thecodeah/followers","following_url":"https://api.github.com/users/thecodeah/following{/other_user}","gists_url":"https://api.github.com/users/thecodeah/gists{/gist_id}","starred_url":"https://api.github.com/users/thecodeah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thecodeah/subscriptions","organizations_url":"https://api.github.com/users/thecodeah/orgs","repos_url":"https://api.github.com/users/thecodeah/repos","events_url":"https://api.github.com/users/thecodeah/events{/privacy}","received_events_url":"https://api.github.com/users/thecodeah/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-16T13:40:50Z","updated_at":"2018-08-16T14:28:54Z","closed_at":null,"author_association":"NONE","body":"I was having trouble getting Hugo set up for a blog for days simply because I put the posts inside of the `content/posts` folder instead of the `content/post` folder.\r\n\r\nThe \"Quick Start\" introduction tutorial also uses `posts`.\r\nhttps://gohugo.io/getting-started/quick-start/#step-4-add-some-content\r\n\r\nI thought it was just a typo. However [this repository](https://github.com/mismith0227/hugo_theme_pickles/tree/develop/exampleSite/content/posts) contains an example folder where once again `posts` is used.\r\n\r\nIs this method outdated, or does the issue lie somewhere else?"},"comment":{"url":"https://api.github.com/repos/gohugoio/hugo/issues/comments/413565404","html_url":"https://github.com/gohugoio/hugo/issues/5086#issuecomment-413565404","issue_url":"https://api.github.com/repos/gohugoio/hugo/issues/5086","id":413565404,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMzU2NTQwNA==","user":{"login":"kaushalmodi","id":3578197,"node_id":"MDQ6VXNlcjM1NzgxOTc=","avatar_url":"https://avatars2.githubusercontent.com/u/3578197?v=4","gravatar_id":"","url":"https://api.github.com/users/kaushalmodi","html_url":"https://github.com/kaushalmodi","followers_url":"https://api.github.com/users/kaushalmodi/followers","following_url":"https://api.github.com/users/kaushalmodi/following{/other_user}","gists_url":"https://api.github.com/users/kaushalmodi/gists{/gist_id}","starred_url":"https://api.github.com/users/kaushalmodi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaushalmodi/subscriptions","organizations_url":"https://api.github.com/users/kaushalmodi/orgs","repos_url":"https://api.github.com/users/kaushalmodi/repos","events_url":"https://api.github.com/users/kaushalmodi/events{/privacy}","received_events_url":"https://api.github.com/users/kaushalmodi/received_events","type":"User","site_admin":false},"created_at":"2018-08-16T14:28:54Z","updated_at":"2018-08-16T14:28:54Z","author_association":"MEMBER","body":"> does the issue lie somewhere else?\r\n\r\nThe `hugo_theme_pickles` theme is not well designed. It is [**hard-coding** the posts directory name to \"posts\"][1]. Hugo does not impose the directory name.\r\n\r\nSee `.Site.Params.mainSections`. Please close this issue here and you can continue further discussion at https://discourse.gohugo.io/.\r\n\r\n[1]: https://github.com/mismith0227/hugo_theme_pickles/blob/3ee082c47e57fcccd7d337a288ce1c63108b510e/layouts/_default/list.html#L3"}}
{"actor":{"display_login":"kaushalmodi"}}