Skip to content
Make Your Ghost Blog Beautiful & Make It Fast & Accessible With the New Ghost Theme: Nubia 😍 🎉

Dahab - Ghost

Current Version: 1.0.4 - 20 November 2017

Theme Installation

This is a quick video showing how to install the theme, upload blog cover image, favicon, social media account, create the tags page, and update the profile information for the editor.

Also, you can follow the following steps to install the theme:

  • Log into the admin section of your Ghost blog
  • Select Design from the left-hand side of your admin area and go to the Themes section.
  • Click on the Upload a Theme green button.
  • An upload box will open, then choose the theme ( within the downloaded package.
  • Once uploaded, click on Activate now button to activate the theme immediately or Close if you want to activate it later.

Static Pages

In order to create a static page, you create a new post, just like you would any other post. Once you have opened up the new post, there is a cog wheel icon next to where it says “Save Draft” or “Update Post” depending on if you have published the post or not. Click on that cog, and check the “Turn this post into a static page” box. This will convert your post to a static page.

static page

You can add, edit, delete and reorder menu links on your Ghost blog, directly from the navigation tool within the blog admin area, located at /ghost/#/settings/design/.

navigation menu

To include a static page on your navigation menu, first, type the name of the page as you’d like it to appear on your menu in the label field.

label field

Next, click inside the URL field of the menu item. The blog URL will auto-populate with You will need to add in the page slug after the final /. Once satisfied with your page link, click the blue Save button to add the page to the navigation menu.

Home Hero

static page

The hero section shows the cover image and the blog description, which you can edit from the Blog Settings admin page.

The theme comes with description support for HTML tags, so you can add normal tags like custom links or headings and the theme will automatically render them on the browser. For example, the demo description is the following:

<h3>Thoughts, Stories and Ideas.</h3>

Tags Page

tags page

To enable the tags page:

  • Enable the Public API Beta.
  • Create a new post and call it Tags for example, and make sure that the POST URL is tags.
  • Click the Turn this post into a static page checkbox.
  • Publish the page.
  • To add the page to the navigation, please check the Navigation section above.

static page

Disqus Comments

The Theme comes with Disqus comments enabled.

Open partials/disqus.hbs file, and change the aspirethemes-demos value for the disqus_shortname variable to match your Disqus account shortname.

var disqus_shortname = 'aspirethemes-demos';

So, if your Disqus shortname is exampleone, the final code above should be:

var disqus_shortname = 'exampleone';

That’s all you need to setup Disqus from the theme side. If you get any issue regarding that comments are unable to load. First, make sure you have registered your website with Disqus (Step 1)

And also check Disqus troubleshooting guide if you still have issues.

Subscribe Form

Subscribers can be enabled via a checkbox on the Labs page (Labs > Beta features), in your Ghost admin panel:

enable subscribers

Once you enabled this feature, the form will appear in the single post page.

You can read more about Subscribers Beta.

Posts Per Page

With Ghost 1.0, the “Posts per page” setting is now part of the theme. The config purpose is to control how many posts to show per page from the package.json file like this:

"config": {
  "posts_per_page": 6

Dahab theme default value is set to 6 posts per page.

Google Analytics

To integrate Google Analytics, I would recommend reading Google Analytics integration steps by Ghost.

Social media links are placed in the partials/social-nav.hbs file.

Ghost supports adding Facebook and Twitter profile URLs from the admin panel, go to General > Social accounts and add your URLs, this will update the Facebook and Twitter URLs in the blog footer.


If you want to add more static social media links, the theme is using Evil Icons, which contains very simple and clean icons. Here you can find a list of the social media icons to use:


<span data-icon='ei-sc-facebook' data-size='s'></span>


<span data-icon='ei-sc-github' data-size='s'></span>

Google Plus

<span data-icon='ei-sc-google-plus' data-size='s'></span>


<span data-icon='ei-sc-instagram' data-size='s'></span>


<span data-icon='ei-sc-linkedin' data-size='s'></span>


<span data-icon='ei-sc-odnoklassniki' data-size='s'></span>


<span data-icon='ei-sc-pinterest' data-size='s'></span>


<span data-icon='ei-sc-skype' data-size='s'></span>


<span data-icon='ei-sc-soundcloud' data-size='s'></span>


<span data-icon='ei-sc-telegram' data-size='s'></span>


<span data-icon='ei-sc-tumblr' data-size='s'></span>


<span data-icon='ei-sc-twitter' data-size='s'></span>


<span data-icon='ei-sc-vimeo' data-size='s'></span>


<span data-icon='ei-sc-vk' data-size='s'></span>


<span data-icon='ei-sc-youtube' data-size='s'></span>

Let’s add an extra social media link, for example, Instagram to the exciting Facebook and Twitter links.

First, open the partials/social-nav.hbs file, then add the following code inside the ul element.

<li class='c-social-nav__item'>
  <a href='' target='_blank'>
    <span class='c-social-nav__icon' data-icon='ei-sc-instagram' data-size='s'></span>

Note that we use the data-icon='ei-sc-instagram' for Instagram, you can change this for other icons from the list above.

Second, Add the Instagram URL to the href value, so if your Instagram URL is:

the new code will be:

<li class='c-social-nav__item'>
  <a href='' target='_blank'>
    <span class='c-social-nav__icon' data-icon='ei-sc-instagram' data-size='s'></span>

If all the steps done properly, the final partials/social-nav.hbs file should look like:

<ul class='c-social-nav o-plain-list'>
  {{# if @blog.twitter}}
    <li class='c-social-nav__item'>
      <a href='' target='_blank'>
        <span class='c-social-nav__icon' data-icon='ei-sc-twitter' data-size='s'></span>
  {{# if @blog.facebook}}
    <li class='c-social-nav__item'>
      <a href='' target='_blank'>
        <span class='c-social-nav__icon' data-icon='ei-sc-facebook' data-size='s'></span>
  <li class='c-social-nav__item'>
    <a href='' target='_blank'>
      <span class='c-social-nav__icon' data-icon='ei-sc-instagram' data-size='s'></span>

This concept is applied to all the social icons available, you can use the same code updating the href and data-icon values.

Update Favicon

New Ghost 1.0

The favicon in Ghost 1.0 could be changed from the Blog settings from the Publication icon section.

Update favicon

Old Ghost Versions

You can find the current favicon inside the theme assets directory, just replace it with your new favicon, then upload to the server.

Update favicon

Theme Development

If you are a developer and need to do customization work, the theme is using Gulp to compile Sass and JavaScript. This improves the development flow and making it much faster.

First, make sure you have Node.js, npm, and Bower installed, then run the-the following commands in the theme root directory to install npm and bower dependencies.

npm install

To start Gulp, run:


This will compile Sass and JavaScript files, and start watching changes as you edit files.

To create a clean and small theme package, you can exclude different directories using the following command line:

zip -r dahab -x *node_modules* *bower_components* *git*

This will exclude node_modules, bower_components, and git directories from the final zip file.

Another option is to use the Ghost Code Injection feature. This is great if you don’t want to touch the theme files which is recommended to receive the future theme updates without losing your customizations.

👋 Support

Have any questions? Ahmad is always here to help 😊

Contact Ahmad