$ npm install --production
$ npm start
http://127.0.0.1:2368 & http://127.0.0.1:2368/ghost
Stop Ghost service
sudo service ghost stop
content/images/
content/themes/custom_themes
content/themes/data/*.db
config.js
Download latest Ghost version:
wget http://ghost.org/zip/ghost-latest.zip
Delete and replace old Ghost directory with new Ghost files
cd /var/www/Ghost
rm -rf *
# copy the backup files to Ghost directory
Start Ghost
sudo service ghost start
.
├── /assets
├── /css
├── screen.css
├── /fonts
├── /images
├── /js
├── /partials
├── list-post.hbs
├── default.hbs
├── index.hbs [required]
└── post.hbs [required]
└── package.json [required]
Partials allow you to create small reusable templates which you include in other template files. For example, you might create a loop.hbs
partial which you use on all of the listing templates to output a short post excerpt. Partials have to live in the /partials/
directory, and are output with the {{> loop}}
partial helper. The partial helper will also take a string path if you have subdirectories inside your partials directory, e.g. {{> ‘author/mini-bio’}}.
{{> loop}}