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

Static pages #969

Closed
ErisDS opened this Issue Oct 4, 2013 · 2 comments

Comments

Projects
None yet
2 participants
@ErisDS
Member

ErisDS commented Oct 4, 2013

Using the post settings menu it should be possible to switch a post into page mode.

This marks page=true in the db

Posts with page set to true should not appear in frontend post lists by default

@halfdan

This comment has been minimized.

Show comment
Hide comment
@halfdan

halfdan Oct 15, 2013

Member

When implementing this right now - where should pages appear?

Member

halfdan commented Oct 15, 2013

When implementing this right now - where should pages appear?

@ErisDS

This comment has been minimized.

Show comment
Hide comment
@ErisDS

ErisDS Oct 16, 2013

Member

They should appear on the admin content UI the same as posts. They should also be accessible via their permalink the same as posts. They should not appear on the blog home or archive page - i.e. in the front end post lists.

@JohnONolan Do you have an idea for indicating that a post is marked as a page? Perhaps output something like 'Page' instead of the 'Published x ago'?

Member

ErisDS commented Oct 16, 2013

They should appear on the admin content UI the same as posts. They should also be accessible via their permalink the same as posts. They should not appear on the blog home or archive page - i.e. in the front end post lists.

@JohnONolan Do you have an idea for indicating that a post is marked as a page? Perhaps output something like 'Page' instead of the 'Published x ago'?

halfdan added a commit to halfdan/Ghost that referenced this issue Oct 28, 2013

Allow user to mark a post as static page
- Increased post-settings width to properly display "Static Page"
- Changed templates to display "Static Page" if set
- Added unit test for body_class helper

fixes #969

@ErisDS ErisDS closed this in #1147 Oct 28, 2013

jptacek added a commit to jptacek/Ghost that referenced this issue Nov 4, 2013

Allow user to mark a post as static page
- Increased post-settings width to properly display "Static Page"
- Changed templates to display "Static Page" if set
- Added unit test for body_class helper

fixes #969

morficus pushed a commit to morficus/Ghost that referenced this issue Sep 4, 2014

Allow user to mark a post as static page
- Increased post-settings width to properly display "Static Page"
- Changed templates to display "Static Page" if set
- Added unit test for body_class helper

fixes #969
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment