You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New to Jekyll, but recently ported my blog to Octopress. And sorry if this should be posted over at Octopress instead, but it felt Jekyll related.
I'm working on a series about porting a blog from BlogSpot/Blogger to Octopress and found this post about creating a series template to live in _includes.
I've since modified the template and want access to un-published posts within the template. (or if this can be done through drafts - maybe I just need a tip on how to get them).
My end goal would be to get the following template to work.
Notice how I'm trying to use post.published == false to output (coming soon)...
This works when I use rake generate; rake preview but the (coming soon) posts don't show up immediately. There's some sort of delay before this gets generated, and I presume this is related to the preview rake task in Octopress (but haven't dug in enough). After some time if I refresh it will display what I want, but I'm pretty sure rake generate; rake deploy won't produce the same thing.
Is it possible to access un-published posts or possibly drafts - to accomplish something like this?
This article is Part 2 of 5 in a series about something awesome.
Hello,
New to Jekyll, but recently ported my blog to Octopress. And sorry if this should be posted over at Octopress instead, but it felt Jekyll related.
I'm working on a
series
about porting a blog from BlogSpot/Blogger to Octopress and found this post about creating a series template to live in_includes
.I've since modified the template and want access to un-published posts within the template. (or if this can be done through drafts - maybe I just need a tip on how to get them).
My end goal would be to get the following template to work.
Series Gist Template
This works when I use
rake generate; rake preview
but the (coming soon) posts don't show up immediately. There's some sort of delay before this gets generated, and I presume this is related to thepreview
rake task in Octopress (but haven't dug in enough). After some time if I refresh it will display what I want, but I'm pretty surerake generate; rake deploy
won't produce the same thing.Is it possible to access un-published posts or possibly drafts - to accomplish something like this?
This article is Part 2 of 5 in a series about something awesome.
The text was updated successfully, but these errors were encountered: