Log in Sign up

Adding a tag-based indictor after {{Previous}} and {{Next}}

I use the following on the archives page to put a unicode arrow after a linkpost:

<div class="column left">          		
        <a href="{{{url}}}">{{title}}
            {{#tagged.linkpost}}
    ⇾
    {{/tagged.linkpost}}
        </a>
    </div>

I tried to use the same method within the Next and Previous sections shown below, but it showed the unicode arrow next to every post. My guess is that it's getting the Next/Previous values at pageload, but may not have visiblity to the tags for those entries to be able to handle what I'm trying to accomplish in the Previous and Next area. Is it possible?

<div class="column rightpostfooter">
{{#tags}}
            <a class="small tag" href="/tagged/{{slug}}">{{name}}  </a>	
                {{/tags}}<br>
                {{#date}}
                    <span class="small">{{date}}</span>
                {{/date}}<br>
                {{#next}}
                <a class="link" href="{{{url}}}"><span class="smalllink">{{title}}</span></a>          
        {{/next}}<br>
                {{#previous}}
                <a class="link" href="{{{url}}}"><span class="smalllink">{{title}}</span></a>                   
            {{/previous}}<br>
    </div>

10 months ago, 0 replies   developers   Edit question

No replies yet