Flamingo
Ghost Theme
Compatible with Ghost 4.x

Development

The theme uses Gulp and NodeJs (Node v12 or v14) for development purposes. You'll need Gulp and Nodejs installed globally. After that from the theme's root directory run the following commands.
1
$ npm install
2
$ npm run dev
Copied!
Now you can edit the SCSS and JS files in /assets/src/ , which will be compiled to /assets/built/ automatically.
The build Gulp task minifies all the CSS & JS files and packages the theme into dist/<theme-name>.zip, which you can then upload to your site.
1
$ npm run build
Copied!

Customizations

To change the colors or fonts in the theme, you can modify the /assets/src/styles/partials/_variables.scss file. After modifications, complile the SASS files again by following command –
1
$ npm run build
Copied!
This will generate the zipped theme file in /dist directory.

How to Activate Disqus Comments

  1. 1.
    Open up the post.hbs file in any text editor.
  2. 2.
    Look for the comments section.
  3. 3.
    Add the following code snippet in the comments section.
    1
    <section class="post-comments">
    2
    <div id="disqus_thread"></div>
    3
    <script>
    4
    var disqus_config = function () {
    5
    this.page.url = '{{url absolute="true"}}';
    6
    this.page.identifier = 'ghost-{{comment_id}}';
    7
    };
    8
    (function() {
    9
    var d = document, s = d.createElement('script');
    10
    s.src = 'https://<YOUR DISQUS SHORTNAME>.disqus.com/embed.js';
    11
    s.setAttribute('data-timestamp', +new Date());
    12
    (d.head || d.body).appendChild(s);
    13
    })();
    14
    </script>
    15
    </section>
    Copied!
  4. 4.
    Don't forget to modify the s.src = 'https://<YOUR SITE'S DISQUS SHORTNAME>.disqus.com/embed.js'; to your disqus url.

Feature a Post on the Tag View

To make a post to be featured on tag view's header, add the following hidden tag to the post – #tag-featured-post.

Social Media Icons

Icons for Facebook, Twitter, Behance, Dribbble, 500px, Github, Gmail, Instagram, Linkedin, Medium, Pinterest, Reddit, RSS, Tumblr, & Youtube are included in the theme. Icons for Facebook and Twitter are already implemented in the code. To activate icons for other social networks, insert the following code snippets in the respective files.
In Footer.hbs
1
<a href="" target="_blank">
2
{{> "icons/dribbble"}}
3
</a>
Copied!
In Author.hbs
1
<a class="link-with-svg" href="" target="_blank" rel="noopener">
2
<span class="link-svg">
3
{{> "icons/dribbble"}}
4
</span>
5
<span class="link-text">Dribbble</span>
6
</a>
Copied!
If you require more icons, you may visit Simple Icons and download the required icons.
Last modified 5mo ago