{"action":"closed","issue":{"url":"https://api.github.com/repos/Phlow/simplicity/issues/1","repository_url":"https://api.github.com/repos/Phlow/simplicity","labels_url":"https://api.github.com/repos/Phlow/simplicity/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Phlow/simplicity/issues/1/comments","events_url":"https://api.github.com/repos/Phlow/simplicity/issues/1/events","html_url":"https://github.com/Phlow/simplicity/issues/1","id":167919963,"number":1,"title":"'_layout/archive.html' layout","user":{"login":"dwlfrth","id":633234,"avatar_url":"https://avatars.githubusercontent.com/u/633234?v=3","gravatar_id":"","url":"https://api.github.com/users/dwlfrth","html_url":"https://github.com/dwlfrth","followers_url":"https://api.github.com/users/dwlfrth/followers","following_url":"https://api.github.com/users/dwlfrth/following{/other_user}","gists_url":"https://api.github.com/users/dwlfrth/gists{/gist_id}","starred_url":"https://api.github.com/users/dwlfrth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwlfrth/subscriptions","organizations_url":"https://api.github.com/users/dwlfrth/orgs","repos_url":"https://api.github.com/users/dwlfrth/repos","events_url":"https://api.github.com/users/dwlfrth/events{/privacy}","received_events_url":"https://api.github.com/users/dwlfrth/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-27T18:13:24Z","updated_at":"2016-08-26T10:26:52Z","closed_at":"2016-08-26T10:26:52Z","body":"More like a question than an issue.\r\n\r\nNot quite sure why there's a differentiation of line item `<li>` of the `if forloop.last` affecting the subheading of a post (around line 24 of `_layouts/archive.html`).\r\n\r\nShouldn't it simply be\r\n`<ul class=\"toc\">\r\n    {% for post in site.posts %}\r\n        <li><a href=\"{{ site.url }}{{ site.baseurl }}{{ post.url }}\">{% if post.subheadline %}<span>{{ post.subheadline }}</span>{% endif %}{{ post.title }}</a></li>\r\n    {% endif %}\r\n{% endfor %}\r\n</ul>`\r\n\r\nI adjusted mine and it seems to behave correctly, unless I'm wrong...\r\nhttps://github.com/dwlfrth/dwlfrth.github.io/blob/master/_layouts/archive.html#L31"}}
{"actor":{"display_login":"Phlow"}}