# HG changeset patch # User Ludovic Chabant # Date 1421994418 28800 # Node ID 681da9009290e629f6e9a199cf54d7b6e5da204b # Parent 7a5a7a7e8ceea2841f55ef01bfdfe44154be477c theme: Updated "quickstart" text shown for new websites. diff -r 7a5a7a7e8cee -r 681da9009290 piecrust/resources/theme/pages/_index.html --- a/piecrust/resources/theme/pages/_index.html Thu Jan 22 22:26:26 2015 -0800 +++ b/piecrust/resources/theme/pages/_index.html Thu Jan 22 22:26:58 2015 -0800 @@ -28,28 +28,30 @@ quick reference of things you probably want to do next. All `chef` commands need to be run from inside your website's directory. -For more information, refer to the [documentation][doc]. +For more information, refer to the [documentation][doc]. This message will go +away as soon as you've written your first blog post, or after you set the +`hide_quickstart` setting to `true` in the site configuration (_i.e._ in +`config.yml` under the `site` section). +### Create a new page + +Run `chef prepare page my-new-page`, where `my-new-page` is the [URL +slug][slug] you want for your new page. This can contain sub-directories, like +so: `about/my-new-page`. ### Create a new blog post -Run `chef prepare post my-new-post-slug`, where `my-new-post-slug` is the [URL slug][slug] you want for your new post. - +Run `chef prepare post my-new-post-slug`, where `my-new-post-slug` is the [URL +slug][slug] you want for your new post. Unlike pages, this shouldn't contain +any sub-directories. -### Change this page - -To override this default home page, you can do one of the following: +### Bake your site -* Just hide this "quick start" section by setting the `hide_quickstart` property - to `true` in your site configuration. To do this, edit `config.yml` - and `hide_quickstart: true` under the `site` section. +Run `chef bake`. -* Manually rewrite this page by creating `_content/pages/_index.md` or running - `chef prepare page _index`. +### Preview your site -* Install a theme with `chef themes install theme-name`, where `theme-name` is - the name of a theme. You can list existing official themes with `chef themes - find`. +Run `chef serve`, and point your browser to `http://localhost:8080`. [piecrust]: {{ piecrust.url }}