Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Featured" posts not appearing in side bar #10

Closed
saiscode opened this issue Sep 8, 2017 · 1 comment
Closed

"Featured" posts not appearing in side bar #10

saiscode opened this issue Sep 8, 2017 · 1 comment

Comments

@saiscode
Copy link

saiscode commented Sep 8, 2017

I have enabled the public API and can see my tags. I cannot see Featured posts even though I have marked some posts as Featured.

I believe this is because sidebar.hbs contains the following code
<ul id="featured-posts" class="no-bullet"></ul>

According to https://themes.ghost.org/docs/recent-featured-sidebar, the code inside <ul></ul> should be as follows:

`{{#get "posts" filter="featured:true" limit="3" as |featured|}}

Featured posts

    {{#foreach featured}}
  1. {{title}}
  2. {{/foreach}}
{{else}}

No featured posts...

{{/get}}`
@wdiazux
Copy link
Owner

wdiazux commented Sep 10, 2017

Thank you for your input, the update is now in the master branch.

@wdiazux wdiazux closed this as completed Sep 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants