Clean blog theme is a ported theme to Spress designed by Start Bootstrap.
- Fully responsive.
- Distraction free blog text optimized for legibility.
- Contact form powered by getsimpleform.
- Comments powered by Disqus.
- Get a copy of the latest release.
- Uncompress it.
- Go to
Clean-blog-theme
folder spress site:build --server --watch
- Fork this repository
- Clone it: ` https://github.com/YOUR-USER/Clean-blog-theme.git
- Go to
Clean-blog-theme
folder spress site:build --server --watch
This options is not available with spress.phar
.
Go to your Spress installation folder i.e ~/Spress and add the following depencency to your composer.json
file
"require": {
"spress-add-ons/clean-blog-theme": "1.0.*@dev"
}
and then run the following command to install the dependency.
$ composer update
Next create your new site:
$ spress new:site /your-site-dir clean_blog
$ cd /your-site-dir
$ spress site:build --server --watch
Comments are powered by Disqus and it need your disqus shortname. To get it, you need create a account at this service. It's free.
comments:
enabled: true
disqus_shortname: yosymfony
Top menu are composed by each of pages with title
attribute. e.g: about/index.html
:
title: "About me"
The contact form is a AJAX form configured in config.yml
:
forms:
contact:
getsimpleform_api_token:
You need a API key from getsimpleform service. It's free.
To create a new post use new:post
command from Spress:
$> spress new:site
Each post has a header image. You can configure your image and some data about it.
header_img:
url: "img/post-bg-07.jpg"
author: Yuri Samoilov
author_url: https://flic.kr/p/mjhDwB