A free boilerplate responsive theme for Ghost blogging platform.
Bastard theme was built using Bootstrap 3, SASS, Font Awesome, and Gulp. Gulp is used to automate tasks for compiling and minifying the theme components. You can use the theme as is, or customize it by editing the bastard.js
and /assets/sass/*.scss
files.
I'm using this theme for my personal site, karloespiritu.com
You can download the theme here: http://karloespiritu.github.io/Bastard
- Clean and well-documented code
- Developed using Bootstrap 3.3, SASS, Font Awesome, and Gulp
- Organized CSS3 stylesheets using SASS
- Fully responsive layout
- Full bleed cover images for posts
- Retina display ready, looks great on any device or resolution
- Full screen cover page with parallax effect
- Syntax highlighting using HighlightJs
- One file css/js for performance optimization
- Automatic linting, compiling, and minification of SCSS and JS files using Gulp
- Automatic image file size optimization using IMGMin and SVGMin
- Google Analytics integrated
- Includes FitVids.Js for fluid video embeds
- It's free:)
- Copy the theme folder inside
/content/themes
of Ghost. - Restart Ghost and then go to Ghost's Settings (http://your.domain.com/ghost/settings/general/). Choose "bastard" from the theme dropdown menu and save your changes.
- Optionally, you can update the background cover with your own image to replace the default cover image.
- Have fun :)
Bastard theme uses Gulp to lint, compile, and concatenate the javascript and SASS components. Customize the theme by editing the assets/js/bastard.js
and sass/*
files. Run gulp
to compile your changes or use the gulp watch
while you build your own theme.
- Make sure you have Node.js v6.9 and Gulp v3.9 installed on your system.
- Copy theme folder to Ghost themes directory
/content/themes
. Open your terminal and make the theme's folder your current working directory. - Run
npm install
to install theme dependencies. - Restart Ghost and switch the theme to use
bastard
in the Ghost's Settings. - Make your changes by updating
/sass/*
,/assets/*
, and*.hbs
files of the theme. - Run
gulp watch
to start watching for file changes or rungulp
to build your latest changes. - If you have new images for the theme, just place them inside
image_sources
folder and Gulp will handle the optimisation automatically and store the optimised version insideassets/images/
. - Update the social media icon links by updating
partials/social.hbs
. - Update gravatar by updating URL in
partials/gravatar.hbs
.
- Bootstrap Sass
- Font Awesome Icons
- Gulp: The Streaming Build System
- Sass - Syntactically Awesome Stylesheets
- HighlightJs - Syntax highlighting for the Web
- FitVids.Js - A lightweight, easy-to-use jQuery plugin for fluid width video embeds
To get in touch, you can drop me an email or find me on Twitter.
MIT License
Karlo Espiritu