html - Different column posts in tumblr theme -


i'm making tumblr theme, based on 2 columns. in left column, there entries tagged, in right 1 entries without tag.

so have {block:posts} in every column div, in 1 entries tags rendered, in other 1 else. somehow both columns filled entries, no matter of type are.

my code looks right now:

<div class="columns">          <div class="column1">             {block:posts}                 <div class="post">                     {block:hastags}                         <ul class="tags">                             {block:tags}                                 <li>                                     <a href="{tagurl}">{tag}</a>                                 </li>                             {/block:tags}                         </ul>                     {/block:hastags}                 </div>             {/block:posts}         </div>          <div class="column2">             {block:posts}                 {block:video}                     <li class="post video">                         {video-500}{block:caption}                             <div class="caption">{caption}</div>                         {/block:caption}                     </li>                 {/block:video}             {/block:posts}         </div> </div> <script type="text/javascript" src="http://static.tumblr.com/q0etgkr/eibmz7s0p/infinitescrolling.js"></script> 

the problem is, video entries filled in both columns, if code links on them in column2.


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -