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: [email protected]. 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 section) and upload “delas.zip
  • 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 > General > Publication Info. Here you can change the followings:

  • Title
  • Description
  • Site Timezone
  • Publication Language

Logo

We have used SVG Logo for the theme . You can change SVG Logo from Dashboard > General > Publication Identity

Favicon Icon

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

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 > General > Site Meta Settings

Social Accounts

Social account section is for showing Facebook, Twitter links of your site. Go to Dashboard > Settings > 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 > Design > 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 > 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

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 > 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 > Labs

  1. Membership
  2. Import Content
  3. Export your content
  4. Delete All Content
  5. Night shift
  6. Redirects
  7. 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

To change the logo markup or text, find this structure on header.hbs file

<div class="logo" data-aos="fade-right">
    <h2>
        <a href="{{@site.url}}">
            {{#if @site.logo}}
                <img src="{{@site.logo}}" alt="{{@site.title}}">
            {{else}}
                {{@site.title}}
            {{/if}}
        </a>
    </h2>
</div>
Primary Navigation

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

Search

For activating search option, see this

Dark Light Feature

Delas supports dark light mode. By default, it is on Dark mode. If you activate light mode as default, edit the file default.hbs in theme-file/default.hbs at line number 2

<html lang="{{@site.lang}}" data-theme="light">
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 at footer.hbs file line number 41

<p>{{{t "Made with love by {siteName}. ALl rights reserved © Delas - 2020" siteName="<a href=\"https://electronthemes.com\">Electronthemes</a>"}}}</p>

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 remove featured posts slider from homepage, remove the following line from index.hbs

{{!-- Featured slider --}}
{{> "featured-slider"}}

Top Popular 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 remove from homepage, remove this line from index.hbs file.

{{!-- Top Authors --}}
{{> "top-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

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"}}

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

This is an awesome features of Ghost. If you want to make money with publications, you can use Membership features of Ghost. To enable members, go to Dashboard > Labs > Members

Portal Settings

In portal seetings, you can enable Subscribe button at the bottom right of the site.

  • Show signup and signin form in popup
  • Showing pricing plans
  • Changing ancient colors
  • Changing icons and text

Stripe connection

Connect your stripe account to get the payment from your subscribers

Subscription Pricing

Add or change your subscription pricing from here

Post Access

When you enable members, you can manage your posts who will see your default posts.

Email Newsletter

You can customize your newsletter template from here

You can also change your support email and email newsletter setting with mailgun using this

Pricing Tables

Here we have used 3 pricing plans.

  1. Free/Basic Plan
  2. Monthly Plan
  3. Yearly Plan

Change the text inside <li>{{t "..."}}</li>

Free/Basic Plan: For changing basic plan {{> members/pricing-tables/plan-free}} partials is used. You will find partials > members > pricing-tables > plan-free.hbs

<ul>
    <li>{{t "Access to all free posts"}}</li>
    <li>{{t "Weekly updates with new content"}}</li>
    <li>{{t "No card details required"}}</li>
</ul>

Monthly Plan: For monthly plan {{> members/pricing-tables/plan-monthly}} partials is used. You will find partials > members > pricing-tables > plan-monthly.hbs

<ul>
    <li>{{t "Access to all free private posts"}}</li>
    <li>{{t "Weekly updates with new content"}}</li>
    <li>{{t "Support independent publishing"}}</li>
    <li>{{t "No card details required"}}</li>
    <li>{{t "Customer Support 24/7"}}</li>
</ul>

Yearly Plan: For yearly plan {{> members/pricing-table/plan-yearly}} partials is used. You will find partials > members > pricing-tables > plan-yearly.hbs

<ul>
<ul>
    <li>{{t "Access to all free private posts"}}</li>
    <li>{{t "Weekly updates with new content"}}</li>
    <li>{{t "Support independent publishing"}}</li>
    <li>{{t "No card details required"}}</li>
    <li>{{t "Customer Support 24/7"}}</li>
</ul>

Account Informations

Free Subscriber information

You can change the account information text on header page also. To change the information, go to custom-account.hbs. Go to line number 13 to change the information.

Paid subscriber information

You can change the account information text on header page also. To change the information, go to partials > members > subscriber-information.hbs

Third Party Plugins

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

Search Options

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
<script>
    var contentApiKey = "your content api key"
</script>

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/[email protected]"  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.

Disqus Comment box

We have used discus comments for this theme. We have used our own discuss 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 the directory where is your template.
  • Go to /content/themes/delas/partials/disqus and open the next file: disqus-comment.hbs and git to line number 11 for disqus_shortname = “delas”;
  • Change with your shortname, in this case ‘example-shortname’;
  • Save the file and upload to your ghost installation.
  • Optional, you can verify if all is correct clicking Verify on disqus steps (where we get our shortname).

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 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 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-main: #f53b57;
    --color-main-hover: #d81c39;
    --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.1.0: Release on 19 Dec 2020
------------  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