{"action":"created","issue":{"url":"https://api.github.com/repos/gohugoio/hugo/issues/5226","repository_url":"https://api.github.com/repos/gohugoio/hugo","labels_url":"https://api.github.com/repos/gohugoio/hugo/issues/5226/labels{/name}","comments_url":"https://api.github.com/repos/gohugoio/hugo/issues/5226/comments","events_url":"https://api.github.com/repos/gohugoio/hugo/issues/5226/events","html_url":"https://github.com/gohugoio/hugo/issues/5226","id":361259098,"node_id":"MDU6SXNzdWUzNjEyNTkwOTg=","number":5226,"title":"Permalink function on resource ignores path part of the baseURL","user":{"login":"tadeboro","id":70951,"node_id":"MDQ6VXNlcjcwOTUx","avatar_url":"https://avatars3.githubusercontent.com/u/70951?v=4","gravatar_id":"","url":"https://api.github.com/users/tadeboro","html_url":"https://github.com/tadeboro","followers_url":"https://api.github.com/users/tadeboro/followers","following_url":"https://api.github.com/users/tadeboro/following{/other_user}","gists_url":"https://api.github.com/users/tadeboro/gists{/gist_id}","starred_url":"https://api.github.com/users/tadeboro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tadeboro/subscriptions","organizations_url":"https://api.github.com/users/tadeboro/orgs","repos_url":"https://api.github.com/users/tadeboro/repos","events_url":"https://api.github.com/users/tadeboro/events{/privacy}","received_events_url":"https://api.github.com/users/tadeboro/received_events","type":"User","site_admin":false},"labels":[{"id":46429356,"node_id":"MDU6TGFiZWw0NjQyOTM1Ng==","url":"https://api.github.com/repos/gohugoio/hugo/labels/Bug","name":"Bug","color":"b60205","default":false}],"state":"open","locked":false,"assignee":{"login":"bep","id":394382,"node_id":"MDQ6VXNlcjM5NDM4Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/394382?v=4","gravatar_id":"","url":"https://api.github.com/users/bep","html_url":"https://github.com/bep","followers_url":"https://api.github.com/users/bep/followers","following_url":"https://api.github.com/users/bep/following{/other_user}","gists_url":"https://api.github.com/users/bep/gists{/gist_id}","starred_url":"https://api.github.com/users/bep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bep/subscriptions","organizations_url":"https://api.github.com/users/bep/orgs","repos_url":"https://api.github.com/users/bep/repos","events_url":"https://api.github.com/users/bep/events{/privacy}","received_events_url":"https://api.github.com/users/bep/received_events","type":"User","site_admin":false},"assignees":[{"login":"bep","id":394382,"node_id":"MDQ6VXNlcjM5NDM4Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/394382?v=4","gravatar_id":"","url":"https://api.github.com/users/bep","html_url":"https://github.com/bep","followers_url":"https://api.github.com/users/bep/followers","following_url":"https://api.github.com/users/bep/following{/other_user}","gists_url":"https://api.github.com/users/bep/gists{/gist_id}","starred_url":"https://api.github.com/users/bep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bep/subscriptions","organizations_url":"https://api.github.com/users/bep/orgs","repos_url":"https://api.github.com/users/bep/repos","events_url":"https://api.github.com/users/bep/events{/privacy}","received_events_url":"https://api.github.com/users/bep/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/gohugoio/hugo/milestones/85","html_url":"https://github.com/gohugoio/hugo/milestone/85","labels_url":"https://api.github.com/repos/gohugoio/hugo/milestones/85/labels","id":3800747,"node_id":"MDk6TWlsZXN0b25lMzgwMDc0Nw==","number":85,"title":"v0.53","description":"","creator":{"login":"bep","id":394382,"node_id":"MDQ6VXNlcjM5NDM4Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/394382?v=4","gravatar_id":"","url":"https://api.github.com/users/bep","html_url":"https://github.com/bep","followers_url":"https://api.github.com/users/bep/followers","following_url":"https://api.github.com/users/bep/following{/other_user}","gists_url":"https://api.github.com/users/bep/gists{/gist_id}","starred_url":"https://api.github.com/users/bep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bep/subscriptions","organizations_url":"https://api.github.com/users/bep/orgs","repos_url":"https://api.github.com/users/bep/repos","events_url":"https://api.github.com/users/bep/events{/privacy}","received_events_url":"https://api.github.com/users/bep/received_events","type":"User","site_admin":false},"open_issues":115,"closed_issues":1,"state":"open","created_at":"2018-11-06T15:38:31Z","updated_at":"2018-11-15T09:35:24Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2018-09-18T11:28:26Z","updated_at":"2018-11-15T10:20:08Z","closed_at":null,"author_association":"NONE","body":"`hugo` versions up to and including 0.42.2 used complete `baseURL` URL to create absolute permalinks for resources. Later versions use only host part of the config, which breaks sites that use path in the `baseURL` config.\r\n\r\nThe change that introduced the breakage is this: https://github.com/gohugoio/hugo/commit/dea71670c059ab4d5a42bd22503f18c087dd22d4#diff-237662eaccac0a9acb0b64febadb5b5aR690\r\n\r\nOfficial documentation on the other hand still states that `baseURL` should be (quote from docs): **Hostname (and path) to the root**.\r\n\r\nWas this done on purpose and hugo does not support having path parts in the `baseURL`?"},"comment":{"url":"https://api.github.com/repos/gohugoio/hugo/issues/comments/438990481","html_url":"https://github.com/gohugoio/hugo/issues/5226#issuecomment-438990481","issue_url":"https://api.github.com/repos/gohugoio/hugo/issues/5226","id":438990481,"node_id":"MDEyOklzc3VlQ29tbWVudDQzODk5MDQ4MQ==","user":{"login":"bep","id":394382,"node_id":"MDQ6VXNlcjM5NDM4Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/394382?v=4","gravatar_id":"","url":"https://api.github.com/users/bep","html_url":"https://github.com/bep","followers_url":"https://api.github.com/users/bep/followers","following_url":"https://api.github.com/users/bep/following{/other_user}","gists_url":"https://api.github.com/users/bep/gists{/gist_id}","starred_url":"https://api.github.com/users/bep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bep/subscriptions","organizations_url":"https://api.github.com/users/bep/orgs","repos_url":"https://api.github.com/users/bep/repos","events_url":"https://api.github.com/users/bep/events{/privacy}","received_events_url":"https://api.github.com/users/bep/received_events","type":"User","site_admin":false},"created_at":"2018-11-15T10:20:08Z","updated_at":"2018-11-15T10:20:08Z","author_association":"MEMBER","body":"I may look at this later; I have turned off \"canonifyURLs\" on the theme site, but that  may have other side effects."}}
{"actor":{"display_login":"bep"}}