"published" front-matter property not respected by pages (vs. posts) #1034

Closed
wetstevs opened this Issue May 6, 2013 · 6 comments

Projects

None yet

5 participants

@wetstevs

page files at the root and in subdirectories with the property in their front matter:

published: false

Do not appear to respect it. They are, instead, always generated.

@parkr
Jekyll member

Did they ever? I think published is only respected for posts.

@zachgersh

Worth adding?

@wetstevs

Perhaps it never was. I confess I hadn't tried until just today (post-install). I also appear to have some issue with my exclude entry in my _config.yml (it's not being respected) so who knows, I may have some ghosts in the machine.

However, the documentation strongly implies that it is supported:

Predefined Global Variables

There are a number of predefined global variables that you can set in the front-matter of a page or post.

@wetstevs

It would indeed be helpful for folks like myself who are using Jekyll to maintain a site (vs. a blog).

@maul-esel maul-esel added a commit to maul-esel/jekyll that referenced this issue May 11, 2013
@maul-esel maul-esel obey published status for pages
Fixes #1034.
ead2c96
@maul-esel maul-esel added a commit to maul-esel/jekyll that referenced this issue Oct 24, 2013
@maul-esel maul-esel use publisher class in Site
Respect the "published" settings not only for posts,
but also for pages. This fixes #1034.
ca544bd
@fabianrbz

now that #1080 was merged, I think this can be closed.

@maul-esel

#1080 was not merged, but closed because #1492 superseded it (and that's still open).

@parkr parkr closed this Jul 31, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment