Edge - Ghost Theme Documentation

Table of Contents


Installation

When you purchase a theme from IVEEL, you will have an access to the theme directly on your account page. Once you click the download link, an installable theme file will be downloaded to your computer.

  1. Navigate to Settings > Design on your Ghost Admin (yourblog.com/ghost).
  2. Click Upload a theme and select the downloaded installable theme file.
  3. Click Activate Now to start using the theme.

  1. To add tags to a post, navigate to Posts on your Ghost Admin.
  2. Select the post and click the settings icon on the top right corner.
  3. Add the tags in Tags field.

You can display some text on your blog's footer section. By default, it displays Powered by Ghost. To change the text, open partials/copyright.hbs file.

copyright: '© All rights reserved.',

You can also add some HTML markup.

copyright: '© All rights reserved. <a href="URL_HERE">More info</a>',

Note: Remember to restart your Ghost when you made a change in hbs file.


Add your social links in partials/config.hbs to display social links on your blog. All links must be full URL.

social_links: {
  facebook: 'https://www.facebook.com/iveelco',
  twitter: 'https://www.twitter.com/iveelco',
  instagram: '',
  dribbble: '',
  behance: '',
  github: '',
  linkedin: '',
  vk: '',
  rss: '',
},

Note: Remember to restart your Ghost when you made a change in hbs file.


Hosting Fonts Locally

  1. Click here to download the font files.
  2. Create a folder named fonts in assets directory.
  3. Unzip the downloaded file and copy the files to assets/fonts folder.
  4. Open default.hbs file and comment out the line (wrap inside {{!-- --}}) which embeds Google Fonts. You can search for "https://fonts.googleapis.com" to be more specific.
    {{!-- <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=..."> --}}
  5. Add the necessary CSS in Settings > Code injection > Site Header field.
    @font-face {
      font-family: 'Rubik';
      font-style: normal;
      font-weight: 400;
      src: url('../fonts/rubik-v9-latin-regular.woff2') format('woff2'),
           url('../fonts/rubik-v9-latin-regular.woff') format('woff');
    }
    @font-face {
      font-family: 'Rubik';
      font-style: normal;
      font-weight: 500;
      src: url('../fonts/rubik-v9-latin-500.woff2') format('woff2'),
           url('../fonts/rubik-v9-latin-500.woff') format('woff');
    }
    @font-face {
      font-family: 'Rubik';
      font-style: normal;
      font-weight: 700;
      src: url('../fonts/rubik-v9-latin-700.woff2') format('woff2'),
           url('../fonts/rubik-v9-latin-700.woff') format('woff');
    }

Hosting jQuery Locally

  1. Click here to download the latest version of jQuery.
  2. Save the file as jquery.min.js in assets/js folder.
  3. Open default.hbs file and search for "https://code.jquery.com" to find the <script> tag which embeds remote jQuery.
  4. Replace the entire <script>...</script> tag with:
    <script src="{{asset "js/jquery.min.js"}}"></script>