{"action":"created","issue":{"url":"https://api.github.com/repos/andrewbanchich/forty-jekyll-theme/issues/61","repository_url":"https://api.github.com/repos/andrewbanchich/forty-jekyll-theme","labels_url":"https://api.github.com/repos/andrewbanchich/forty-jekyll-theme/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/andrewbanchich/forty-jekyll-theme/issues/61/comments","events_url":"https://api.github.com/repos/andrewbanchich/forty-jekyll-theme/issues/61/events","html_url":"https://github.com/andrewbanchich/forty-jekyll-theme/issues/61","id":341102711,"node_id":"MDU6SXNzdWUzNDExMDI3MTE=","number":61,"title":"Change filter to page.image in post template","user":{"login":"johanvergeer","id":13183702,"node_id":"MDQ6VXNlcjEzMTgzNzAy","avatar_url":"https://avatars1.githubusercontent.com/u/13183702?v=4","gravatar_id":"","url":"https://api.github.com/users/johanvergeer","html_url":"https://github.com/johanvergeer","followers_url":"https://api.github.com/users/johanvergeer/followers","following_url":"https://api.github.com/users/johanvergeer/following{/other_user}","gists_url":"https://api.github.com/users/johanvergeer/gists{/gist_id}","starred_url":"https://api.github.com/users/johanvergeer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johanvergeer/subscriptions","organizations_url":"https://api.github.com/users/johanvergeer/orgs","repos_url":"https://api.github.com/users/johanvergeer/repos","events_url":"https://api.github.com/users/johanvergeer/events{/privacy}","received_events_url":"https://api.github.com/users/johanvergeer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-13T17:39:55Z","updated_at":"2018-07-20T16:46:55Z","closed_at":null,"author_association":"NONE","body":"I ran into an issue on the posts page where the images were not loaded. \r\n\r\nThe issue was solved by changing\r\n\r\n```html\r\n{% if page.image %}<span class=\"image main\"><img src=\"{{ site.baseurl }}/{{ page.image }}\" alt=\"\" /></span>{% endif %}\r\n```\r\n\r\nto\r\n\r\n```html\r\n{% if page.image %}<span class=\"image main\"><img src=\"{{ page.image | relative_url }}\" alt=\"\" /></span>{% endif %}\r\n```\r\n\r\nThis changes the output from \r\n\r\n```html\r\n<span class=\"image main\"><img src=\"//assets/images/pic01.jpg\" alt=\"\" /></span>\r\n```\r\n\r\nto \r\n\r\n```html\r\n<span class=\"image main\"><img src=\"/assets/images/pic01.jpg\" alt=\"\" /></span>\r\n```"},"comment":{"url":"https://api.github.com/repos/andrewbanchich/forty-jekyll-theme/issues/comments/406658826","html_url":"https://github.com/andrewbanchich/forty-jekyll-theme/issues/61#issuecomment-406658826","issue_url":"https://api.github.com/repos/andrewbanchich/forty-jekyll-theme/issues/61","id":406658826,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjY1ODgyNg==","user":{"login":"johanvergeer","id":13183702,"node_id":"MDQ6VXNlcjEzMTgzNzAy","avatar_url":"https://avatars1.githubusercontent.com/u/13183702?v=4","gravatar_id":"","url":"https://api.github.com/users/johanvergeer","html_url":"https://github.com/johanvergeer","followers_url":"https://api.github.com/users/johanvergeer/followers","following_url":"https://api.github.com/users/johanvergeer/following{/other_user}","gists_url":"https://api.github.com/users/johanvergeer/gists{/gist_id}","starred_url":"https://api.github.com/users/johanvergeer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johanvergeer/subscriptions","organizations_url":"https://api.github.com/users/johanvergeer/orgs","repos_url":"https://api.github.com/users/johanvergeer/repos","events_url":"https://api.github.com/users/johanvergeer/events{/privacy}","received_events_url":"https://api.github.com/users/johanvergeer/received_events","type":"User","site_admin":false},"created_at":"2018-07-20T16:46:55Z","updated_at":"2018-07-20T16:46:55Z","author_association":"NONE","body":"I noticed this issue once I started using SSL on the server. But now I'm wondering if I just messed up in using `jekyll serve` instead of `jekyll build`. Could that be it?"}}
{"actor":{"display_login":"johanvergeer"}}