Getting Started

Delas is a minimal ghost blogging theme. It is built for bloggers, journalists, freelancers, editors, authors, writers, developers. Delas is fully responsive, light-weight, superfast ghost theme and built with html, css, js, scss and ready for premium subscription features

Support

If you have any questions that are beyond the scope of this help file, please feel free to send your questions to our support email: support@electronthemes.com  Our support team will reply you within 6 hours.

Template Information

Theme Setup

Delas theme setup is very easy. If you have already installed a server for Ghost you can easily setup Delas theme. If you don’t have server suported with Ghost, you can set up reading Ghost Install. When you have the server, follow the instructions for setting up the theme.

Upload the theme

You can upload the theme file from ghost dashboard. to do this

  • Log in into your Ghost admin panel.
  • Go to  settings > design > Change Theme > upload theme and then upload your theme
  • Click Activate.

Uploading the theme via (FTP)

Follow the instructions

  • Login to your FTP account.
  • Unzip the delas.zip file and copy delas folder to your /ghost_installation/content/themes
  • Restart your installation if necessary. You can ask for help from your hosting provider if you don’t know how to do this step.
  • Login to your ghost admin panel.
  • Go to settings (general) and select theme “Delas
  • Click Save.

General Setup

Publication Info

To change publication info, go to  Dashboard > Settings > General > Publication Info. Here you can change the followings:

  • Title
  • Description
  • Site Timezone
  • Publication Language

Logo

You can change Logo from Dashboard > Settings Icon > Design > Brand > Publication Logo

Favicon Icon or Publication Icon

Ghost shows his ghost logo in your site by default. You can change Favicon Icon or Publication Icon from Dashboard > Settings Icon > Design > Brand > Publication Icon

Publication Cover

This is for showing site bookmark image. If you upload a cover image, it will in your site bookmark

Site Meta Settings

This is for Meta data. It will help to get on search using search engine. You can add also Twitter and Facebook card image, content here.

You can add/edit the content from Dashboard > Settings > General > Site Meta Settings

Social Accounts

Social account section is for showing Facebook, Twitter links of your site. Go to Dashboard > Settings > General > Social Accounts

Primary Navigation

Ghost only support two types of Navigation. Primary and Secondary Navigation Menu. On header, primary navigation is showing and On Footer secondary navigation is showing. Go to Dashboard > Settings > Navigation > Primary Navigation

Create a Post

Ghost has a beautiful dashboard design. You can easily create a post. Go to Dashboard > Posts > New Post

  • Post Title
  • Post Contents
  • Feature image
  • Tags
  • Authors

Create a page

As like as post, you can create a new page from Dashboard > Pages > New Page. You can add:

  • Title
  • Contents
  • Tags
  • Authors
  • Feature Image
  • Excerpt
  • more…

Featured Post

Ghost has awesome featured posts option to show some of your chosen posts as featured for the visitors. To add a post as featured, go to Post > Settings and scroll down. Select the checkbox Feature this post

Create Tag

To create a new tag, go to Dashboard > Tags > New Tag

Create Author

You can create multiple author in your site from dashboard. Go to Dashboard > Settings > Stuff > Invite people

Click on Invite people and you will get a new popup. You have to add Email Address and select the staff Role. Lastly click on Send Invitation now button. An email notification will be sent to create an account on the specific Role.

Code Injection

Code injection is a great feature on Ghost. You can easily write styles and scripts for your site without editing the theme file. You can add various plugins code here like Google analytics

Here you will two text field for code injections. 1. Site Header and 2. Site Footer

Go Dashboard > Settings > Code Injection

Site Header

If you write scripts on site header, it will show in <head> tag of header. It will load first in your site

Site Footer

If you write scripts on site footer, it will show at the closing of <body> tag. It will load last in your site

Integrations and Custom Integrations

Integrations are another cool feature of Ghost. You can connect a lot of thirdparty plugins or API using integrations. To check the integrations, go to Dashboard > Settings > Integrations. You will get some inbuilt integrations and custom integrations options

Custom integrations

To create custom integrations, click on + Add custom integration at the bottom of the page and you will get a popup and add a name of the integration and Create. I have create here Search and Github Deploy integration

Labs

Labs is another very important and beta tester parts of Ghost. Here your will get some core features as follows: Go to Dashboard > Settings > Lab. 

  1. Import Content
  2. Export your content
  3. Delete All Content
  4. Tiers
  5. Redirects
  6. Routes

Members

If you want to get subscriptions and paid customers, you can use Members option in this panel. When you click on this you will get in details

Migration Options

You will get some options here like Import content, export content and delete content options

Routes

Routes is another important part. When you want to use different path link or custom files for pages and different homepage, you can use routes.yaml file to do that. Here is default .yaml for ghost.

routes:

collections:
  /:
    permalink: /{slug}/
    template: index

taxonomies:
  tag: /tag/{slug}/
  author: /author/{slug}/

Header

For header, we have used {{> header}} partials in folder partials/ header.hbs. In this file you can change the followings:

  1. Logo
  2. Primary Navigation
  3. Search
  4. Dark Light Icon
  5. Social Profiles

Logo

You can change the site main logo follow the instruction: Settings > Design > Site Design > Brand > Publication Logo

Dark Logo Mode

If you want to use Dark logo, you can change it from your custom settings. You will find the settings :

Settings > Design > Site Design > Site-Wide > Dark Mode Logo

Primary Navigation

For Primary navigation, go to Dashboard > Design > Primary Navigation

Dark and Light version

We have used dark version by default. When you will install the theme file on your ghost server, you will get your website as dark version.

If you want to use Light version for default, you can change it from your custom settings. You will find the settings Settings > Design > Site Design > Site-WIde > Select Color Scheme

Search

For activating search option, see this

Social profiles

In header, two profiles support Facebook and Twitter. If you want to change links, go to Dashboard > General > SOCIAL ACCOUNTS. For more see this

Footer

We used very minimal footer in our theme. You will get all footer code partials > footer.hbs file. Here are the following parts:

  1. Tag slider
  2. Site Title
  3. Social connect
  4. Copyright text
Tag slider

In footer, it shows Tag Slider. We have showed most popular 10 tags here based on count number of posts. If you want to remove the tags slider, remove this line from footer.hbs file.

{{!-- Tag Slider --}}
{{> "tag-slider"}}

If you want to edit the limit of showing tags, change limit from tag-slider.hbs of partials folder.

{{#get "tags" limit='10' include="count.posts" order="count.posts desc"}}
Site Title

Site title is showing in the footer. If you want to remove, you can change line number 7 of footer.hbs file

Connects

We have showed some social profiles in the footer. If you want to change link or icons, go to footer.hbs file and line number 25 and change the link.

<a href="#">
    {{> icons/social-icons/linkedin}}
</a>

If you want to add new social icons, go to partials > icons > social-icons folder. I have used svg icons from Feathericons. Download icons from here and add it in the folder. Change the icon’s extension .svg to .hbs

facebook.svg --> facebook.hbs 
Copyright text

You can change footer copyright text from Dashboard > Settings Icon > Design > Site-Wide > Site Footer

if you change the site footer box text . you will get the output on footer copyright text.

Homepage

In homepage, you will get some sections.

  1. Featured Slider
  2. Top Authors
  3. Popular posts
  4. All Posts
  5. Subscribe

Featured Posts Slider

We have showed a slider on homepage will the featured posts. If you set a post as featured, it will be added automatically in the slider. See this section how to add featured post

Featured slider post limit is 5. If you want to increase or decrease post limit, go to partials/featured-slider.hbs and edit limit="5".

{{#get "posts" limit="5" filter="featured:true" include="tags,authors"}}

If you want to display off /on Featured Slider Post from homepage, please go to Settings > Design > Homepage > Show featured Post

Top Post From Best Authors

These authors comes from the author lists who posted the most. I have showed here only 5 authors. If you want to change the limit, go to Partials > top-authors.hbs and change limit at line number 1

{{#get 'authors' limit='5' include='count.posts' order="count.posts desc"}}

If you want to display off /on Top Post From Best Authors from homepage, please go to Settings > Design > Homepage > Show best authors

Popular posts

Popular posts comes from an internal tag #popular. If you add `#popular tag in any posts, the post will be automatically added in this section.

We have showed 10 limited posts here, If you want to change the limit, edit this number limit="10". If you want to change internal tag name, change the tag filter="tag:hash-popular"

{{#get "posts" limit="10" filter="tag:hash-popular" visibility="all" include="tags,authors" as |popular|}}

All posts

You will get all latest posts at post-loop.hbs file of partials folder

Pagination Type

If you want you can change the pagination type ( Button Mode default ) just select one. You will find the settings: :

Settings > Design > Homepage > Select pagination

Subscribe

If you want to change subscribe section text, you can do it from subscribe-section.hbs of partials folder.

If you want to remove from homepage, remove this code

{{!-- suscribe --}}
{{> "subscribe-section"}}

Post Layout

Post layout

If you want you can change the Post Layout ( default to Post With Sidebar ) just select one. You will find the settings:

Settings > Design > Post > Default Post Layout

Show Related Posts

If you want to display off /on Show Related Posts from post, please go to Settings > Design > Post > Show Related Posts

Related Posts Title

You can change the Related Posts Title from custom settings. You will find the settings:

Settings > Design > Post > Related Posts Title

You get the change output below single post page :

Custom Settings

From v4.0.0, we have released custom settings for Site-Wide, Homepage, Post. You can easily select your options from Settings > Design > Site Design

Site-Wide Settings

  • Dark Mode Logo: You can Upload from here Dark Mode Logo. For enable dark mode logo you have upload first publication logo (light mode logo) for default.
  • color scheme: You can change your theme color from Dark to Light or Light to Dark for default
  • Search content API: Add your content API for the search field. When you add to this field, your search option will show and work.
  • Site footer: You can change footer copyright text.

Homepage Settings

  • Show featured posts: You can off/on hompage featured slider by this option.
  • Show best authors: You can off/on hompage Top Post From Best Authors by this option.
  • Select pagination: You can select Pagination or Load More. By default, Load more option will work

Post Settings

  • Post layout: You can Select Default & PostWith sidebar from Homepage Layout. This layout will be applied for all the posts.
  • Comments Type: By default we are use cove comment for the posts. You can change your comment Disqus or Cove.
  • Comment title: You can change title of comment section
  • Disqus shortname: If you select Disqus Comment for your comment option, you need to add Disqus Shortname. You can learn more from [Comments Section]
  • Cove publication id: Add your cove publication ID from this field. To get cove publication id, create account to Cove
  • Show related posts: You can display off/on related posts section by this option.
  • Related posts title: You can change title of relates articles section

Custom Templates

Custom template is a default setting on Ghost. It can be page template and post template. We have created some custom page and post template for the theme. The page template are as follows:

Page Template

  • Membership
  • Account
  • Contact
  • Authors
  • Tags
  • Authors
  • Signin
  • Signup
  • Portfolio
Selecting page template
  1. Create a new page
  2. Click on Settings to the right side and scroll down
  3. Select page template i.e. “Membership”
Page url

When you create page, please keep page slug like this.

Page titlePage URl
Membership/membership/
Account/account/
Signin/signin/
Signup/signup/

For other custom pages, you can add Authors, Tags, Contact page.

Post Template

  1. Post with Sidebar

We have used 1 posts page style in this theme. You can choose as following:

Sidebar

We have showed some elements on Post sidebar

  1. Popular Author
  2. Featured posts
  3. Popular Tags
  4. Subscribe

1. Popular Author

You will find it in the file partials > sidebar > popular-author. If you want to remove from sidebar, go to sidebar.hbs in the partials folder and remove this {{> sidebar/popular-author}}

2. Featured posts

These posts are featured posts as like as featured slider. We have showed 3 limited posts in featured posts of sidebar. If you want to change, go to partials > sidebar > featured-posts.hbs and change limit

{{#get "posts" limit="3" filter="featured:true" include="authors,tags"}}

3. Popular Tags

We have showed 10 popular tags based on posts counting number. If you want to change, go to partials > sidebar > popular-tags.hbs and change limit.

{{#get "tags" limit="10" include="count.posts" order="count.posts desc"}}

4. Subscribe

We have showed subscribe option in the sidebar. To change the content, go to partials > sidebar > sidebar-subscribe.hbs

Membership and Subscriptions

The membership page is helping your customer to understand the plan and compare the differences between your offers. Here are the step by step instructions:

Create Membership page

  1. Create a new page and open the page settings panel from the right side of the page
  2. Select the page template: Membership at the bottom dropdown
  3. Publish the page

Create Tiers and show on membership page

  1. Go to Settings > Membership in your Ghost Admin
  2. Go to MEMBERSHIP TIERS at the bottom
  3. Connect your Stripe Account if you don’t have Stripe connected
  4. Expand Premium position and click on +Add tier to add new tier name, description, list of benefits, price for monthly and yearly.
  5. Add tier to activate
  6. Now, go to portal settings, you can control enable and disable tiers appearing on the membership page.

Create Account Page

  1. Create a new page and open the page settings panel from the right side of the page
  2. Select the page template: Account at the bottom dropdown
  3. Publish the page

Third Party Plugins

We have created real time search options and Formspree for contact form.

Search Options

We have created real-time search options the theme file. You can activate the search easily.

We have used Fuse.io for creating real time search. When you will type, you will get instant results. When you install the theme file, you have configure and add content api key on condeinjection

  1. Create a custom integrations
  2. Copy Content Api Key from your created custom integration
  3. Go to Code Injection > Site Header as follows

After collect the Content Api Key we go to : Settings > Design > Site-Wide and insert to below search content API box.

Contact form

In contact form, we have used Formspree for getting form data. Change your email in <form> tag in custom-contact.hbs file at line number 26.

<form class="row" action="https://formspree.io/youremail@domain.com"  method="POST">

To change contact information, go to custom-contact.hbs file. You change all of the information.

Google Map Embedded Code

You can add your google map embedded code at line number 65 in the file custom-contact.hbs. You can create your own location map from this url

After getting your location, you can click on Get HTML Code. You will get HTML and replace the code in your file.

Comments

Ghost has no default comment sytem. We need to third-party comment box like Disqus or Cove. This theme supports both comment box. You will find both comment box in the partials folder in the theme file.

Cove Comment

Cove is popular comment system for ghost. You can easily manage comments for members and paid members posts. It is a premium comment sytem. We have a setup for cove comments. You easily change with your comments.

  • Create account in Cove.chat and Login
  • Click on +Create a New Account and add a name
  • Copy the publication ID and paste it in Settings > Design > Site Design > Post
  • Publication ID. Copy this ID and paste to Cove publication field.
  • Replace publication id with your account code

Disqus Comment

We have used discus comments for this theme. We have used our own disqus account. You can change easily with your Disqus shortname. Follow the process to create your Disqus account and get a short name.

  1. You can create your Disqus code in the next url: http://disqus.com/admin/create/
  2. Add a short-name for Website Name
  3. Your unique “Disqus URL” is your shortname copy that name and click finish registration.
  • Go to Settings > Design > Site Design > Post and Select Disqus from Select comment select option.
  • Go to Settings > Design > Site Design > Post > Disqus shortname;
  • Change with your shortname, in this case ‘example-shortname’;
  • Save.

Disable Comments from site

If you want to disable comments from your posts, select Disable from Settings > Design > Site Design > Post > Select Comment. If will disable comments from your site

Comment Title

You can change the Comment Title  text from custom settings. You will find the settings:

Settings > Design > Post > Comment Title

You get the change output below single post page :

Github Deployment

Delas theme in ready for deploy on github easily. You can read the articles on Github deployment

Development and Customization

In this theme, we have used SCSS to develop and style fast. You must have installed Nodejs and SASS on your computer.

  • Open theme file in your editor like VSCode or Sublime Text
  • Open terminal in the theme folder
  • Run command npm run sass



Alternatively, You can easily do it using Prepros. To edit SCSS code, follow the instruction:

  1. Unzip delas.zip (this is the template only file) and remember where is the folder location.
  2. Install a SASS compiler, we recommend you to use Prepos 6, you can download it here.
  3. Click on “Browse” to add project on the middle side.

Changing Primary and Secondary colors

You can change main color from Ghost Settings: Settings > Design > Brand > Accent color

You can change easily primary, secondary, text color and other colors from _variable.scss file. Open assets/scss/_variables.scss file and change the color that you want, example:

:root {
    --color-primary: #1e272e;
    --color-secondary: #c2c2c2;
    --color-text: #d4d3d3;
    --color-text-two: #d4d3d3;
}

Credits

Fonts and Icon Fonts

Images

Plugins and libraries

Changelog

VERSION – 4.3.0: Release on 18 June 2022
------------  VERSION - 4.3.0: Release on 18 Jun 2022  ------------
* Added Support for Ghost 5.0
* Removed all deprecated code
* Small css issues fixed
* Updated English translation file

[+] CHANGED FILES
    assets/css/style.css
    assets/js/scripts.js
    assets/scss/_component.scss
    assets/scss/_header.scss
    assets/scss/_blog-single.scss
    assets/scss/_component.scss
    assets/scss/_membership.scss
    default.hbs
    index.hbs
    package.json
    tag.hbs
    author.hbs
    custom-account.hbs
    partials/header.hbs
    partials/pagination.hbs
    partials/post-loop.hbs
    custom-membership.hbs
    partials/members/notification.hbs
    partials/members/pricing-tables/plan-free.hbs
    partials/members/pricing-tables/plan-monthly.hbs
    partials/members/pricing-tables/plan-yearly.hbs

VERSION – 4.1.0: Release on 05 Jun 2021
------------  VERSION - 4.1.0: Release on 05 Jun 2021  ------------
. Compatible with ghost version 4.0
. Added support for public preview posts for members only posts
. Support for new price plan helper
. Updated deprecated functions
. Small bug fixes and performance improvements

CHANGED FILES
[+] _variables.scss
[+] _dark-light.scss
[+] _portfolio.scss
[+] _membership.scss
[+] _blog-single.scss
[+] _sidebar.scss
[+] _fonts.scss
[+] style.css
[+] plugins.js
[+] scripts.js
[+] default.hbs
[+] custom-portfolio.hbs
[+] custom-post-with-sidebar.hbs
[+] custom-signin.hbs
[+] custom-signup.hbs
[+] partials/members/pricing-tables/plan-free.hbs
[+] partials/members/pricing-tables/plan-monthly.hbs
[+] partials/members/pricing-tables/plan-yearly.hbs
[+] partials/members/subscriber-information.hbs
[+] partials/sidebar/sidebar-subscribe.hbs
[+] partials/subscribe-section.hbs
[+] package.json

ADDED NEW FILES
[+] partials/icons/loader.hbs
[+] partials/sidebar/popular-author.hbs

DELETED FILES
[-] _components.scss
[-] Muli Font

VERSION – 3.2.0: Release on 19 Dec 2020
CHANGED FILES
     [+] partials/top-authors.hbs
     [+] partials/sidebar/featured-posts.hbs
     [+] _variable.scss
     [+] package.json
     [+] scripts.js
     [+] plugins.js
     [+] locales/en.json

 NEWLY ADDED
      [+] Fuse.js search
      [+] Mulish fonts

 DELETED FILES
     [-] Ghost Finder JS
     [-] Muli Font
VERSION – 3.1.0: Release on 17 Aug 2020
[+] Dark Version added

CHANGED FILES
 [+] _variables.scss
 [+] All SCSS files
 [+] package.json
 [+] default.hbs
 [+] index.hbs
 [+] post.hbs
 [+] page.hbs
 [+] subscribe.hbs
 [+] account.hbs
 [+] author.hbs
 [+] error.hbs
 [+] error-404.hbs
 [+] custom-authors.hbs
 [+] custom-tags.hbs
 [+] signin.hbs
 [+] signup.hbs
 [+] tag.hbs
 [+] partials/footer.hbs
 [+] partials/logo.hbs
 [+] partials/author-card.hbs
 [+] assets/img/logo/logo-white.png
 [+] assets/img/logo/logo.png
 [+] scripts.js
 [+] locales/en.json

ADDED NEW FILES
 [+] partials/icons/moon.hbs
 [+] partials/icons/sun.hbs
 [+] partials/members/free-subscriber-information.hbs
 [+] partials/members/subscriber-information.hbs
 [+] partials/members/notification.hbs
 [+] partials/members/visibility-content.hbs
 [+] partials/members/pricing-tables/plan-free.hbs
 [+] partials/members/pricing-tables/plan-monthly.hbs
 [+] partials/members/pricing-tables/plan-yearly.hbs
 [+] partials/sidebar/popular-author.hbs
 [+] partials/sidebar/popular-posts.hbs
 [+] partials/sidebar/popular-tags.hbs
 [+] partials/sidebar/popular-subscribe.hbs
 [+] partials/sidebar/share-post.hbs
 [+] partials/disqus-comment.hbs
 [+] _dark-version.scss
VERSION – 1.0.0: Release on 13 April 2019
[+] Initial Release