Adding test content and activating your theme

You now have all the essential files and code in place in your theme, so it's ready to be activated. Before you do, however, we'll add some test content to your Ghost installation so you have something to build your theme around.

In the source files accompanying this guide, you'll find a ZIP file containing test content. Unzip it so you can get at the .json file inside. In your local Ghost installation, go to http://localhost:2368/ghost/debug/ then browse for the test content .json file and click on the Import button. This will add a selection of posts, tags, and some default author info to your installation.

Now, head to Settings | General and look at the drop-down list labeled Theme. In that list, you should now see Learning Ghost - 0.1.0. Select it and then save your settings. Now go to the homepage of your installation and refresh. Your homepage should now look like this:

Adding test content and activating your theme

The shell of your theme is now entirely in place and you're ready to start applying the choices you made when completing your quick start theme quiz earlier.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset