I edited a Tumblr layout to show tags on each post but for some reason the tags are showing up below the post boxes, and right above the next post.
The code I have for the layout is as below (truncated):
{block:Posts}
{block:Text}
<li class="post text">
<!-- HTML layout for Text posts -->
</li>
{/block:Text}
{block:Photo}
<li class="post photo">
<!-- HTML layout for Photos -->
</li>
{/block:Photo}
{block:Quote}
<li class="post quote">
<!-- HTML layout for quotes -->
</li>
{/block:Quote}
{block:Link}
<li class="post link">
<!-- HTML layout for link posts -->
</li>
{/block:Link}
<!-- etc. -->
{block:HasTags}
{block:Tags}
<a href="{TagURL}">{Tag}</a>
{/block:Tags}
{/block:HasTags}
{/block:Posts}
I can't seem to figure out how/where to edit the theme so the tags show up within the post container and not floating outside and into the next post.