{"action":"created","issue":{"url":"https://api.github.com/repos/comfusion/after-dark/issues/41","repository_url":"https://api.github.com/repos/comfusion/after-dark","labels_url":"https://api.github.com/repos/comfusion/after-dark/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/comfusion/after-dark/issues/41/comments","events_url":"https://api.github.com/repos/comfusion/after-dark/issues/41/events","html_url":"https://github.com/comfusion/after-dark/issues/41","id":238363160,"number":41,"title":"post or article in subfolder and associated address/link","user":{"login":"Polarhardboiled","id":21355630,"avatar_url":"https://avatars0.githubusercontent.com/u/21355630?v=3","gravatar_id":"","url":"https://api.github.com/users/Polarhardboiled","html_url":"https://github.com/Polarhardboiled","followers_url":"https://api.github.com/users/Polarhardboiled/followers","following_url":"https://api.github.com/users/Polarhardboiled/following{/other_user}","gists_url":"https://api.github.com/users/Polarhardboiled/gists{/gist_id}","starred_url":"https://api.github.com/users/Polarhardboiled/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Polarhardboiled/subscriptions","organizations_url":"https://api.github.com/users/Polarhardboiled/orgs","repos_url":"https://api.github.com/users/Polarhardboiled/repos","events_url":"https://api.github.com/users/Polarhardboiled/events{/privacy}","received_events_url":"https://api.github.com/users/Polarhardboiled/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-25T06:28:34Z","updated_at":"2017-06-25T07:03:35Z","closed_at":"2017-06-25T07:03:35Z","body":"Hi,\r\nI am trying to use your easy, simple, fast and great theme for hugo but facing one issue.\r\nI put each single post in a subfolder of a general news folder. Every think works fine but the address of a single post \"post-1\" is as follows:\r\n`../news/post-1/post-1   ` where I would like to have only `../news/post-1` .\r\nAny idea of how to fix it ?\r\nThank a lot"},"comment":{"url":"https://api.github.com/repos/comfusion/after-dark/issues/comments/310886609","html_url":"https://github.com/comfusion/after-dark/issues/41#issuecomment-310886609","issue_url":"https://api.github.com/repos/comfusion/after-dark/issues/41","id":310886609,"user":{"login":"jhabdas","id":440298,"avatar_url":"https://avatars2.githubusercontent.com/u/440298?v=3","gravatar_id":"","url":"https://api.github.com/users/jhabdas","html_url":"https://github.com/jhabdas","followers_url":"https://api.github.com/users/jhabdas/followers","following_url":"https://api.github.com/users/jhabdas/following{/other_user}","gists_url":"https://api.github.com/users/jhabdas/gists{/gist_id}","starred_url":"https://api.github.com/users/jhabdas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhabdas/subscriptions","organizations_url":"https://api.github.com/users/jhabdas/orgs","repos_url":"https://api.github.com/users/jhabdas/repos","events_url":"https://api.github.com/users/jhabdas/events{/privacy}","received_events_url":"https://api.github.com/users/jhabdas/received_events","type":"User","site_admin":false},"created_at":"2017-06-25T07:03:35Z","updated_at":"2017-06-25T07:03:35Z","body":"You have a content structure like this:\r\n\r\n```\r\ncontent\r\n└── news\r\n    ├── post-1\r\n    │   └── post-1.md\r\n    └── post-2\r\n        └── post-2.md\r\n```\r\n\r\nAnd you want to control the URLs output so they do not use nested directories. Correct?\r\n\r\n- If yes, you will want to specify the `permalink` [page variable](https://gohugo.io/templates/variables#taxonomy-terms-page-variables) for each item created. Because nested directories are dynamically named, [archetypes](https://gohugo.io/themes/creation#archetypes) will _not_ accommodate your needs. At least as they are built out in Hugo today.\r\n- If no, please reopen this issue and help adjust my understanding of your needs.\r\n\r\nFor general Q&A, please head over to the [Hugo discussion forums](https://discuss.gohugo.io/). Issues here should be specific to After Dark, which this is not from what I can tell."}}
{"actor":{"display_login":"jhabdas"}}