{"action":"created","issue":{"url":"https://api.github.com/repos/spf13/hugo/issues/2466","repository_url":"https://api.github.com/repos/spf13/hugo","labels_url":"https://api.github.com/repos/spf13/hugo/issues/2466/labels{/name}","comments_url":"https://api.github.com/repos/spf13/hugo/issues/2466/comments","events_url":"https://api.github.com/repos/spf13/hugo/issues/2466/events","html_url":"https://github.com/spf13/hugo/issues/2466","id":177581185,"number":2466,"title":"slice bounds out of range","user":{"login":"wsokc","id":17810238,"avatar_url":"https://avatars.githubusercontent.com/u/17810238?v=3","gravatar_id":"","url":"https://api.github.com/users/wsokc","html_url":"https://github.com/wsokc","followers_url":"https://api.github.com/users/wsokc/followers","following_url":"https://api.github.com/users/wsokc/following{/other_user}","gists_url":"https://api.github.com/users/wsokc/gists{/gist_id}","starred_url":"https://api.github.com/users/wsokc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wsokc/subscriptions","organizations_url":"https://api.github.com/users/wsokc/orgs","repos_url":"https://api.github.com/users/wsokc/repos","events_url":"https://api.github.com/users/wsokc/events{/privacy}","received_events_url":"https://api.github.com/users/wsokc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-17T14:40:59Z","updated_at":"2016-09-17T16:16:53Z","closed_at":"2016-09-17T14:54:18Z","body":"Hi,\r\n\r\nWhen I try to slice the .Summary I've got the error like this:\r\n`y 3 ...>: error calling slicestr: slice bounds out of range in theme/partials/blog.html\r\nERROR: 2016/09/17 22:32:13 template.go:131: template: theme/partials/blog.html:39:34: executing \"theme/partials/blog.html\" at <slicestr .Summary 3 ...>: error calling slicestr: slice bounds out of range in theme/partials/blog.html\r\nERROR: 2016/09/17 22:32:13 template.go:131: template: theme/partials/blog.html:39:34: executing \"theme/partials/blog.html\" at <slicestr .Summary 3 ...>: error calling slicestr: slice bounds out of range in theme/partials/blog.html`\r\n\r\nAnd my code is:\r\n`<div class=\"content\">\r\n                            <ol class=\"breadcrumb\">\r\n                                {{ if isset .Params \"categories\" }}\r\n                                {{ if gt (len .Params.categories) 0 }}\r\n                                in <a href=\"{{ $.Site.BaseURL }}categories/{{ index .Params.categories 0 | urlize | lower }}\">{{ index .Params.categories 0 }}</a></li>\r\n                                {{ end }}\r\n                                {{ end }}\r\n                            </ol>\r\n                            <h6><a href=\"{{ .Permalink }}\">{{ .Title }}</a></h6>\r\n                            <p>\r\n                                {{slicestr .Summary 3 200}}\r\n                            </p>\r\n                            <a href=\"{{ .Permalink }}\">Read More</a>\r\n                        </div>`\r\n\r\nIs this known error ?"},"comment":{"url":"https://api.github.com/repos/spf13/hugo/issues/comments/247785604","html_url":"https://github.com/spf13/hugo/issues/2466#issuecomment-247785604","issue_url":"https://api.github.com/repos/spf13/hugo/issues/2466","id":247785604,"user":{"login":"wsokc","id":17810238,"avatar_url":"https://avatars.githubusercontent.com/u/17810238?v=3","gravatar_id":"","url":"https://api.github.com/users/wsokc","html_url":"https://github.com/wsokc","followers_url":"https://api.github.com/users/wsokc/followers","following_url":"https://api.github.com/users/wsokc/following{/other_user}","gists_url":"https://api.github.com/users/wsokc/gists{/gist_id}","starred_url":"https://api.github.com/users/wsokc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wsokc/subscriptions","organizations_url":"https://api.github.com/users/wsokc/orgs","repos_url":"https://api.github.com/users/wsokc/repos","events_url":"https://api.github.com/users/wsokc/events{/privacy}","received_events_url":"https://api.github.com/users/wsokc/received_events","type":"User","site_admin":false},"created_at":"2016-09-17T16:16:53Z","updated_at":"2016-09-17T16:16:53Z","body":"Thanks,\r\n\r\nYes, now I got someone helped me out from forum.\r\nhttps://discuss.gohugo.io/t/limit-the-summary/4103/8 \r\n\r\nCheers,\r\nRaff"}}
{"actor":{"display_login":"wsokc"}}