Page listing failure

please help, im about to switch away from ghost i’ve been having a very rough time getting anything to install or work as documented. after many days of mssing with it, i finally have everything installed and working properly, but the following code to list pages on a sidebar returns no results.

It seems to work knowing there are records of pages as it will show it is going to iterate rather than coming soon, but lists no results. I’ve also tried supplying a name for the query which also didn’t work. if i turn off the page filer it lists all the non-page posts just fine… any help would be appreciated.

{{#get "posts" filter="page:true"}}
	<section class="navbar">
	  <h3>Navigation</h3>
	  <ol>
		{{#foreach posts}}
		   <li><a href="{{url}}">{{title}}</a></li>
		{{/foreach}}
	  </ol>
	</section>
{{else}}
	<p>Coming Soon</p>
{{/get}}

Hello! Try it:

{{#get "pages" as |pages-list|}}
{{#if pages-list}}
<section class="navbar">
	<h3>Navigation</h3>
	<ol>
		{{#foreach pages}}
		<li><a href="{{url}}">{{title}}</a></li>
		{{/foreach}}
	</ol>
</section>
{{else}}
<p>Coming Soon</p>
{{/if}}
{{/get}}

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.