{"action":"created","issue":{"url":"https://api.github.com/repos/spf13/hugo/issues/1398","labels_url":"https://api.github.com/repos/spf13/hugo/issues/1398/labels{/name}","comments_url":"https://api.github.com/repos/spf13/hugo/issues/1398/comments","events_url":"https://api.github.com/repos/spf13/hugo/issues/1398/events","html_url":"https://github.com/spf13/hugo/pull/1398","id":104622804,"number":1398,"title":"Githublink helper","user":{"login":"SvenDowideit","id":28492,"avatar_url":"https://avatars.githubusercontent.com/u/28492?v=3","gravatar_id":"","url":"https://api.github.com/users/SvenDowideit","html_url":"https://github.com/SvenDowideit","followers_url":"https://api.github.com/users/SvenDowideit/followers","following_url":"https://api.github.com/users/SvenDowideit/following{/other_user}","gists_url":"https://api.github.com/users/SvenDowideit/gists{/gist_id}","starred_url":"https://api.github.com/users/SvenDowideit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SvenDowideit/subscriptions","organizations_url":"https://api.github.com/users/SvenDowideit/orgs","repos_url":"https://api.github.com/users/SvenDowideit/repos","events_url":"https://api.github.com/users/SvenDowideit/events{/privacy}","received_events_url":"https://api.github.com/users/SvenDowideit/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2015-09-03T05:12:40Z","updated_at":"2016-01-01T20:24:58Z","closed_at":"2016-01-01T20:24:58Z","pull_request":{"url":"https://api.github.com/repos/spf13/hugo/pulls/1398","html_url":"https://github.com/spf13/hugo/pull/1398","diff_url":"https://github.com/spf13/hugo/pull/1398.diff","patch_url":"https://github.com/spf13/hugo/pull/1398.patch"},"body":"This PR changes the way that markdown Links are rendered, by converting source level links like `/docs/article/networking.md` into rendered output links like `/article/networking/`. (with the implicit `index.html`).\r\n\r\nThis link resolution is done either as an absolute path, or relative to the currently rendered page.\r\n\r\nFor example, when rendering `/docs/foo/hex.md` into `/foo/hex/index.html`, a markdown link `[test](test.md)` would be linked to the html output path that will be made for `/docs/foo/test.md` - ie `/foo/test/index.html`, as its at the same filesystem level has `hex.md` (so long as it exists - if not, you get an error message and the link will be to the original input text).\r\n\r\nThe intention is that if you enable `[blackfriday] GithubLinking=true` in your `config.toml`, then all links that work when viewing the rendered source markdown files in the github repository will also link up the same way in the Hugo rendered html."},"comment":{"url":"https://api.github.com/repos/spf13/hugo/issues/comments/168335813","html_url":"https://github.com/spf13/hugo/pull/1398#issuecomment-168335813","issue_url":"https://api.github.com/repos/spf13/hugo/issues/1398","id":168335813,"user":{"login":"spf13","id":173412,"avatar_url":"https://avatars.githubusercontent.com/u/173412?v=3","gravatar_id":"","url":"https://api.github.com/users/spf13","html_url":"https://github.com/spf13","followers_url":"https://api.github.com/users/spf13/followers","following_url":"https://api.github.com/users/spf13/following{/other_user}","gists_url":"https://api.github.com/users/spf13/gists{/gist_id}","starred_url":"https://api.github.com/users/spf13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spf13/subscriptions","organizations_url":"https://api.github.com/users/spf13/orgs","repos_url":"https://api.github.com/users/spf13/repos","events_url":"https://api.github.com/users/spf13/events{/privacy}","received_events_url":"https://api.github.com/users/spf13/received_events","type":"User","site_admin":false},"created_at":"2016-01-01T20:24:58Z","updated_at":"2016-01-01T20:24:58Z","body":"@SvenDowideit @moxiegirl sorry this was such a long time to get it to a merge. Thanks for the addition and the diligence around this.  It's now merged as 0f6b334"}}