Skip to content

Removes empty element in category post loop#14

Open
inf0rmer wants to merge 1 commit into
hunvreus:gh-pagesfrom
inf0rmer:patch-1
Open

Removes empty element in category post loop#14
inf0rmer wants to merge 1 commit into
hunvreus:gh-pagesfrom
inf0rmer:patch-1

Conversation

@inf0rmer
Copy link
Copy Markdown

With the old post loop, an empty <li></li> was being created at the beginning. Using category.last to reference the array of posts fixes this.

With the old post loop, an empty ```<li></li>``` was being created at the beginning. Using ```category.last``` to reference the array of posts fixes this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants