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

Rake (or whatever) task for publishing pages #19

Open
h-lame opened this issue Jan 6, 2015 · 1 comment
Open

Rake (or whatever) task for publishing pages #19

h-lame opened this issue Jan 6, 2015 · 1 comment

Comments

@h-lame
Copy link
Member

h-lame commented Jan 6, 2015

We have the concept of status in frontmatter so it would be nice to create pages as 'Draft' in #18 and have a new task for moving them to 'Published' and setting the published_at timestamp too.

@h-lame
Copy link
Member Author

h-lame commented Jan 6, 2015

Of course, this might be a bit of a faff and we should drop the status stuff

h-lame added a commit that referenced this issue Jan 8, 2015
We use a ready hook in the config.rb to scan through the sitemap and explicitly ignore any files without frontmatter that sets them as published.  We also explicitly keep .htaccess files and anything taht looks like an asset (for now that's anything in javascripts/, stylesheets/, or images/).

I guess this is laying some groundwork to make #18 and #19 more worthwhile.
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

1 participant