{"action":"created","issue":{"url":"https://api.github.com/repos/spf13/hugo/issues/1355","labels_url":"https://api.github.com/repos/spf13/hugo/issues/1355/labels{/name}","comments_url":"https://api.github.com/repos/spf13/hugo/issues/1355/comments","events_url":"https://api.github.com/repos/spf13/hugo/issues/1355/events","html_url":"https://github.com/spf13/hugo/issues/1355","id":101005291,"number":1355,"title":"Create alias from .URL to .RelPermalink ","user":{"login":"hanwentao","id":225030,"avatar_url":"https://avatars.githubusercontent.com/u/225030?v=3","gravatar_id":"","url":"https://api.github.com/users/hanwentao","html_url":"https://github.com/hanwentao","followers_url":"https://api.github.com/users/hanwentao/followers","following_url":"https://api.github.com/users/hanwentao/following{/other_user}","gists_url":"https://api.github.com/users/hanwentao/gists{/gist_id}","starred_url":"https://api.github.com/users/hanwentao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanwentao/subscriptions","organizations_url":"https://api.github.com/users/hanwentao/orgs","repos_url":"https://api.github.com/users/hanwentao/repos","events_url":"https://api.github.com/users/hanwentao/events{/privacy}","received_events_url":"https://api.github.com/users/hanwentao/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spf13/hugo/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-14T12:57:20Z","updated_at":"2015-08-29T07:50:00Z","closed_at":null,"body":"Why the variable for relative URL is named `.RelPermalink` for a page, but `.URL` for a node?  Any plan to unify this strange naming?"},"comment":{"url":"https://api.github.com/repos/spf13/hugo/issues/comments/135957430","html_url":"https://github.com/spf13/hugo/issues/1355#issuecomment-135957430","issue_url":"https://api.github.com/repos/spf13/hugo/issues/1355","id":135957430,"user":{"login":"bep","id":394382,"avatar_url":"https://avatars.githubusercontent.com/u/394382?v=3","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":"2015-08-29T07:50:00Z","updated_at":"2015-08-29T07:50:00Z","body":"@tiramiseb sorry, a little typo. Yes, as the URL on Node is relative, that should also be the case for the Page \"alias\". So you yes, you would be able to remove the IsPage conditional."}}