{"action":"closed","issue":{"url":"https://api.github.com/repos/CSIS-iLab/new-silk-road/issues/69","repository_url":"https://api.github.com/repos/CSIS-iLab/new-silk-road","labels_url":"https://api.github.com/repos/CSIS-iLab/new-silk-road/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/CSIS-iLab/new-silk-road/issues/69/comments","events_url":"https://api.github.com/repos/CSIS-iLab/new-silk-road/issues/69/events","html_url":"https://github.com/CSIS-iLab/new-silk-road/issues/69","id":176038681,"number":69,"title":"Correct use of share_text in entry_detail.html","user":{"login":"dcloud","id":279327,"avatar_url":"https://avatars.githubusercontent.com/u/279327?v=3","gravatar_id":"","url":"https://api.github.com/users/dcloud","html_url":"https://github.com/dcloud","followers_url":"https://api.github.com/users/dcloud/followers","following_url":"https://api.github.com/users/dcloud/following{/other_user}","gists_url":"https://api.github.com/users/dcloud/gists{/gist_id}","starred_url":"https://api.github.com/users/dcloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcloud/subscriptions","organizations_url":"https://api.github.com/users/dcloud/orgs","repos_url":"https://api.github.com/users/dcloud/repos","events_url":"https://api.github.com/users/dcloud/events{/privacy}","received_events_url":"https://api.github.com/users/dcloud/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-09T15:32:47Z","updated_at":"2016-09-21T13:28:12Z","closed_at":"2016-09-21T13:28:12Z","body":"Right now I am not using the `share_text` field for social metadata. See:\r\n\r\n```\r\n{% if object.description %}\r\n<meta name=\"description\" content=\"{{object.description_rendered|striptags}}\">\r\n<meta property=\"og:description\" content=\"{{object.description_rendered|striptags}}\">\r\n<meta name=\"twitter:description\" content=\"{{object.description_rendered|striptags|truncatechars:200}}\">\r\n{% endif %}\r\n```\r\n\r\nThis should probably use the `share_text` field with a fallback to a truncated `object.description_rendered` (the latter is what is in place now)."}}
{"actor":{"display_login":"dcloud"}}