{"action":"created","issue":{"url":"https://api.github.com/repos/plone/plone.app.theming/issues/68","labels_url":"https://api.github.com/repos/plone/plone.app.theming/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/plone/plone.app.theming/issues/68/comments","events_url":"https://api.github.com/repos/plone/plone.app.theming/issues/68/events","html_url":"https://github.com/plone/plone.app.theming/issues/68","id":96772493,"number":68,"title":"Allow links relative to Plone site in the theme","user":{"login":"laulaz","id":1101273,"avatar_url":"https://avatars.githubusercontent.com/u/1101273?v=3","gravatar_id":"","url":"https://api.github.com/users/laulaz","html_url":"https://github.com/laulaz","followers_url":"https://api.github.com/users/laulaz/followers","following_url":"https://api.github.com/users/laulaz/following{/other_user}","gists_url":"https://api.github.com/users/laulaz/gists{/gist_id}","starred_url":"https://api.github.com/users/laulaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laulaz/subscriptions","organizations_url":"https://api.github.com/users/laulaz/orgs","repos_url":"https://api.github.com/users/laulaz/repos","events_url":"https://api.github.com/users/laulaz/events{/privacy}","received_events_url":"https://api.github.com/users/laulaz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/plone/plone.app.theming/labels/enhancement","name":"enhancement","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-23T09:41:17Z","updated_at":"2015-07-27T11:51:11Z","closed_at":"2015-07-24T14:44:48Z","body":"Wouldn't it be cool if we could use relative links in the theme html file?\r\n\r\nFor example, you created a link somewhere in the theme that should point to `/page`.\r\nNowadays if you have `<a href=\"/page\">` in index.html, it will point to: \r\n - `http://localhost:8080/page` on your machine --> not working\r\n - `http://site.com/page` on your domain --> working\r\n\r\nYou don't want to create a viewlet just for having a working link. I know this happens in Diazo, but maybe we could give the portal url to it so that it can construct relative urls.\r\n\r\nAny opinions on this ?"},"comment":{"url":"https://api.github.com/repos/plone/plone.app.theming/issues/comments/125177396","html_url":"https://github.com/plone/plone.app.theming/issues/68#issuecomment-125177396","issue_url":"https://api.github.com/repos/plone/plone.app.theming/issues/68","id":125177396,"user":{"login":"laulaz","id":1101273,"avatar_url":"https://avatars.githubusercontent.com/u/1101273?v=3","gravatar_id":"","url":"https://api.github.com/users/laulaz","html_url":"https://github.com/laulaz","followers_url":"https://api.github.com/users/laulaz/followers","following_url":"https://api.github.com/users/laulaz/following{/other_user}","gists_url":"https://api.github.com/users/laulaz/gists{/gist_id}","starred_url":"https://api.github.com/users/laulaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laulaz/subscriptions","organizations_url":"https://api.github.com/users/laulaz/orgs","repos_url":"https://api.github.com/users/laulaz/repos","events_url":"https://api.github.com/users/laulaz/events{/privacy}","received_events_url":"https://api.github.com/users/laulaz/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T11:51:11Z","updated_at":"2015-07-27T11:51:11Z","body":"OK thanks for clarification !"}}