开发者

Tumblr: automatically list all pages

开发者 https://www.devze.com 2023-02-15 17:09 出处:网络
I\'ve had a tumblr accoun开发者_开发问答t for a while and currently have an outdated theme. I was trying to update the theme to automatically list all pages but couldn\'t find a way to do this. Am I m

I've had a tumblr accoun开发者_开发问答t for a while and currently have an outdated theme. I was trying to update the theme to automatically list all pages but couldn't find a way to do this. Am I missing something?

I couldn't find a tag in their docs to loop though and list pages. In theory something like this would work but I'd need to loop though and get all the pages first.

 {block:HasPages} 
       <a href="{URL}"> {Label}</a>
 {/block:HasPages}


Have you tried with

 {block:HasPages} 
      {block:Pages}
       <a href="{URL}"> {Label}</a>
       {/block:Pages}
 {/block:HasPages}

?

0

精彩评论

暂无评论...
验证码 换一张
取 消