{"action":"created","issue":{"url":"https://api.github.com/repos/gantry/gantry5/issues/62","labels_url":"https://api.github.com/repos/gantry/gantry5/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/gantry/gantry5/issues/62/comments","events_url":"https://api.github.com/repos/gantry/gantry5/issues/62/events","html_url":"https://github.com/gantry/gantry5/issues/62","id":66639797,"number":62,"title":"Before/After field for the \"Custom JS/CSS\" atom","user":{"login":"JoomFX","id":7753940,"avatar_url":"https://avatars.githubusercontent.com/u/7753940?v=3","gravatar_id":"","url":"https://api.github.com/users/JoomFX","html_url":"https://github.com/JoomFX","followers_url":"https://api.github.com/users/JoomFX/followers","following_url":"https://api.github.com/users/JoomFX/following{/other_user}","gists_url":"https://api.github.com/users/JoomFX/gists{/gist_id}","starred_url":"https://api.github.com/users/JoomFX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoomFX/subscriptions","organizations_url":"https://api.github.com/users/JoomFX/orgs","repos_url":"https://api.github.com/users/JoomFX/repos","events_url":"https://api.github.com/users/JoomFX/events{/privacy}","received_events_url":"https://api.github.com/users/JoomFX/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gantry/gantry5/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"mahagr","id":854915,"avatar_url":"https://avatars.githubusercontent.com/u/854915?v=3","gravatar_id":"","url":"https://api.github.com/users/mahagr","html_url":"https://github.com/mahagr","followers_url":"https://api.github.com/users/mahagr/followers","following_url":"https://api.github.com/users/mahagr/following{/other_user}","gists_url":"https://api.github.com/users/mahagr/gists{/gist_id}","starred_url":"https://api.github.com/users/mahagr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mahagr/subscriptions","organizations_url":"https://api.github.com/users/mahagr/orgs","repos_url":"https://api.github.com/users/mahagr/repos","events_url":"https://api.github.com/users/mahagr/events{/privacy}","received_events_url":"https://api.github.com/users/mahagr/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/gantry/gantry5/milestones/5","html_url":"https://github.com/gantry/gantry5/milestones/Beta%204","labels_url":"https://api.github.com/repos/gantry/gantry5/milestones/5/labels","id":1049246,"number":5,"title":"Beta 4","description":"","creator":{"login":"w00fz","id":11734,"avatar_url":"https://avatars.githubusercontent.com/u/11734?v=3","gravatar_id":"","url":"https://api.github.com/users/w00fz","html_url":"https://github.com/w00fz","followers_url":"https://api.github.com/users/w00fz/followers","following_url":"https://api.github.com/users/w00fz/following{/other_user}","gists_url":"https://api.github.com/users/w00fz/gists{/gist_id}","starred_url":"https://api.github.com/users/w00fz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w00fz/subscriptions","organizations_url":"https://api.github.com/users/w00fz/orgs","repos_url":"https://api.github.com/users/w00fz/repos","events_url":"https://api.github.com/users/w00fz/events{/privacy}","received_events_url":"https://api.github.com/users/w00fz/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":0,"state":"open","created_at":"2015-04-01T18:53:27Z","updated_at":"2015-04-13T01:01:34Z","due_on":"2015-04-18T07:00:00Z","closed_at":null},"comments":11,"created_at":"2015-04-06T16:05:24Z","updated_at":"2015-04-13T07:23:29Z","closed_at":null,"body":"As per Andy's request I'm opening this issue.\r\n\r\nCan you please add fields/options so the user will be able to choose where the custom JS/CSS will be loaded (Before `</head>`, Before `</body>`, etc).\r\n\r\nAlso, currently the \"Custom JS/CSS\" atom is a bit limited. It only allows you to put the file location. This file can be on CDN or local. So far so good, but what if you want to add other code in the `<head>`, for example FB Open graph:\r\n\r\n`<meta property=\"og:type\" content=\"article\" />`\r\n\r\nProbably an empty text field will be the best solution. In this empty field you'll be able to add the whole code, not just the \"File Location\", for example:\r\n\r\n```\r\n\t\t<script>\r\n\t\t\tjQuery(document).ready(function($) {\r\n\t\t\t\t$('.counter').counterUp({\r\n\t\t\t\t\tdelay: 10,\r\n\t\t\t\t\ttime: 1200\r\n\t\t\t\t});\r\n\t\t\t});\r\n\t\t</script>\r\n```\r\n\r\nSorry for putting two things in one issue but in my opinion they are quite relatated to each other :)"},"comment":{"url":"https://api.github.com/repos/gantry/gantry5/issues/comments/92248098","html_url":"https://github.com/gantry/gantry5/issues/62#issuecomment-92248098","issue_url":"https://api.github.com/repos/gantry/gantry5/issues/62","id":92248098,"user":{"login":"Omegatcu","id":858438,"avatar_url":"https://avatars.githubusercontent.com/u/858438?v=3","gravatar_id":"","url":"https://api.github.com/users/Omegatcu","html_url":"https://github.com/Omegatcu","followers_url":"https://api.github.com/users/Omegatcu/followers","following_url":"https://api.github.com/users/Omegatcu/following{/other_user}","gists_url":"https://api.github.com/users/Omegatcu/gists{/gist_id}","starred_url":"https://api.github.com/users/Omegatcu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Omegatcu/subscriptions","organizations_url":"https://api.github.com/users/Omegatcu/orgs","repos_url":"https://api.github.com/users/Omegatcu/repos","events_url":"https://api.github.com/users/Omegatcu/events{/privacy}","received_events_url":"https://api.github.com/users/Omegatcu/received_events","type":"User","site_admin":false},"created_at":"2015-04-13T07:23:29Z","updated_at":"2015-04-13T07:23:29Z","body":"Thank you for the Time you took to explain this :)\r\nVery appreciated :+1: "}}