{"action":"created","issue":{"url":"https://api.github.com/repos/koenbok/Cactus/issues/218","labels_url":"https://api.github.com/repos/koenbok/Cactus/issues/218/labels{/name}","comments_url":"https://api.github.com/repos/koenbok/Cactus/issues/218/comments","events_url":"https://api.github.com/repos/koenbok/Cactus/issues/218/events","html_url":"https://github.com/koenbok/Cactus/issues/218","id":117785480,"number":218,"title":"post.path with pretty urls","user":{"login":"jonsaul","id":4638434,"avatar_url":"https://avatars.githubusercontent.com/u/4638434?v=3","gravatar_id":"","url":"https://api.github.com/users/jonsaul","html_url":"https://github.com/jonsaul","followers_url":"https://api.github.com/users/jonsaul/followers","following_url":"https://api.github.com/users/jonsaul/following{/other_user}","gists_url":"https://api.github.com/users/jonsaul/gists{/gist_id}","starred_url":"https://api.github.com/users/jonsaul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonsaul/subscriptions","organizations_url":"https://api.github.com/users/jonsaul/orgs","repos_url":"https://api.github.com/users/jonsaul/repos","events_url":"https://api.github.com/users/jonsaul/events{/privacy}","received_events_url":"https://api.github.com/users/jonsaul/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-19T10:33:18Z","updated_at":"2015-11-19T14:12:18Z","closed_at":"2015-11-19T10:36:33Z","body":"HI, looking for an idea on the correct way to work around an issue I have when using the pretty urls and calling <code>/{{ post.path }}</code> my posts are html files and so the resulting url I get back is <code>\"/posts/foo.html\"</code> which will display <code> \"Sorry the page /posts/foo.html could not be found on this server.\"</code>\r\n\r\nSo essentially my issue is that in a page called \"posts.html\" (rendered url is /posts/) I am doing something like:\r\n\r\n```{% for post in posts  %} <a href=\"/{{ post.path }}\">{{post.title}}</a> {% endfor %}```\r\n\r\nand getting the message \r\n<code> \"Sorry the page /posts/foo.html could not be found on this server.\"</code>\r\n\r\nAny ideas on how I dynamically pull the post.path to return something more like <code>/posts/foo/</code>, if I manually remove <code>.html</code> from the url the page will render correctly.\r\n\r\nHopefully this isn't a stupid question..."},"comment":{"url":"https://api.github.com/repos/koenbok/Cactus/issues/comments/158068428","html_url":"https://github.com/koenbok/Cactus/issues/218#issuecomment-158068428","issue_url":"https://api.github.com/repos/koenbok/Cactus/issues/218","id":158068428,"user":{"login":"jonsaul","id":4638434,"avatar_url":"https://avatars.githubusercontent.com/u/4638434?v=3","gravatar_id":"","url":"https://api.github.com/users/jonsaul","html_url":"https://github.com/jonsaul","followers_url":"https://api.github.com/users/jonsaul/followers","following_url":"https://api.github.com/users/jonsaul/following{/other_user}","gists_url":"https://api.github.com/users/jonsaul/gists{/gist_id}","starred_url":"https://api.github.com/users/jonsaul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonsaul/subscriptions","organizations_url":"https://api.github.com/users/jonsaul/orgs","repos_url":"https://api.github.com/users/jonsaul/repos","events_url":"https://api.github.com/users/jonsaul/events{/privacy}","received_events_url":"https://api.github.com/users/jonsaul/received_events","type":"User","site_admin":false},"created_at":"2015-11-19T14:12:18Z","updated_at":"2015-11-19T14:12:18Z","body":"also getting this output to the console during build \r\n\r\n<code>/index.html: static resource does not exist: static/css/master.css\r\n/index.html: page resource does not exist: posts/third-post.html\r\n/index.html: page resource does not exist: posts/second-post.html\r\n/index.html: page resource does not exist: posts/first-post.html\r\n/posts/first-post.html: static resource does not exist: favicon.ico\r\n/posts/first-post.html: static resource does not exist: static/css/master.css\r\n/posts/first-post.html: page resource does not exist: posts/second-post.html\r\n/posts/second-post.html: static resource does not exist: favicon.ico\r\n/posts/second-post.html: static resource does not exist: static/css/master.css\r\n/posts/second-post.html: page resource does not exist: posts/first-post.html\r\n/posts/second-post.html: page resource does not exist: posts/third-post.html\r\n/posts/third-post.html: static resource does not exist: favicon.ico\r\n/posts/third-post.html: static resource does not exist: static/css/master.css\r\n/posts/third-post.html: page resource does not exist: posts/second-post.html</code>"}}