How to make a static page in Ghost before it’s supported

Screen Shot 2014-01-09 at 3.14.53 PM

Currently Ghost only supports blog posts, according to the roadmap version 0.4 is meant to introduce support for pages, but it seems to be a bit behind schedule. If you know express or even just Node, you can hack your Ghost blog like I did, but that makes it unupgradeable.

In the meantime here is what you can do to avoid that problem:

1) Save a draft

2) Copy its url by clicking the gear icon next to “save draft” button

3) link to it from your template

Now you have a static page which is really an unpublished post hence it doesn’t appear in the blog post listing.

Viewable example here.

Hat tip jamesramsay @ github

One thought on “How to make a static page in Ghost before it’s supported

  1. Permalink  ⋅ Reply

    Phuong

    January 11, 2014 at 3:42am

    Nga lak feng luong prabat untuk itil raksassar. Gorengki di atas air itu.

Leave a Reply

Your email will not be published. Name and Email fields are required.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>