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
{{#if featured}} does not render post that is both featured and a static page #5898
Comments
I've learned that |
I have the same issue. The point is, this is a expected behavior? and if is expected, what strategy use to resolve it? @willthefirst are you discover something? |
@Kikobeats: I worked around it by filtering for posts with a specific tag (in my case, "homepage"), where I know that I should only ever have one post with that tag. In
|
In mi case I discover that I was using a different HTML tag for |
With the new
The The In the example above, the query is Equally, to get a post with a particular tag you could use:
|
The {{get}} helper is the traditional way of doing this. However there is also the recently added dynamic routing feature which may cover more to stuff like fully separating blog posts... |
I'm trying to display a featured post that also happens to be a static page:
and using the following code in
index.hbs
:Nothing gets rendered, but as soon as I uncheck "Turn this post into a static page", my stuff shows up. This is unexpected behavior.
The text was updated successfully, but these errors were encountered: