<commit_before>## Clean blog theme - Spress version

Clean blog theme is a ported theme to Spress design by [Start Bootstrap](http://startbootstrap.com/).

[Live demo](http://spress-add-ons.github.io/clean-blog/).

### Features

* Fully responsive
* Distraction free blog text optimized for legibility.
* Working with [getsimpleform](https://getsimpleform.com/) contact form with validation.
* Comments powered by [Disqus](disqus.com).

### How to install?

#### Download a copy

* Get a copy of the latest [release](https://github.com/spress-add-ons/Clean-blog-theme/releases).
* Uncompress it.
* Go to `Clean-blog-theme` folder
* `spress site:build --server --watch`

#### With Git

* [Fork this repository](https://github.com/spress-add-ons/Clean-blog-theme/fork)
* Clone it: ` https://github.com/YOUR-USER/Clean-blog-theme.git
* Go to `Clean-blog-theme` folder
* `spress site:build --server --watch`

#### Globally

**This options is not available with `spress.phar`**.

Go to your [Spress](http://spress.yosymfony.com/) installation folder i.e  **~/Spress** and add the following depencency to your `composer.json` file 

```json
"require": {
    "spress-add-ons/Clean-blog-theme": "1.0.*@dev"
}
```

and then run the following command to install the dependency.

```bash
$ composer update
```

Next create your new site:

```bash
$ spress new:site /your-site-dir clean_blog
$ cd /your-site-dir
$ spress site:build --server --watch
```

## Configuration

### Comments

Comments are powered by [Disqus](disqus.com) and it need your 
**disqus shortname**. To get it, you need create a account at this service.
It's free.

```yaml
comments:
  enabled: true
  disqus_shortname: yosymfony
```

### Top menu

Top menu are composed by each of **pages with `title` attribute**. e.g: `about/index.html`:

```yaml
title: "About me"
```

### Contact form

The contact form is a AJAX form configured in `config.yml`:

```yaml
forms:
    contact:
        getsimpleform_api_token:
```

You need a API key from [getsimpleform](https://getsimpleform.com/) service. It's free.

### Writing a post

To create a new post use `new:post` command from Spress:

```bash
$> spress new:site
```

Each post has a header image. You can configure your image and some data about it.

```yaml
header_img:
  url: "img/post-bg-07.jpg"
  author: <NAME>
  author_url: https://flic.kr/p/mjhDwB
```

## License

[Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0).
<commit_msg>Fixed docs<commit_after>## Clean blog theme - Spress version

Clean blog theme is a ported theme to Spress design by [Start Bootstrap](http://startbootstrap.com/).

[Live demo](http://spress-add-ons.github.io/clean-blog/).

### Features

* Fully responsive.
* Distraction free blog text optimized for legibility.
* Contact form powered by [getsimpleform](https://getsimpleform.com/).
* Comments powered by [Disqus](disqus.com).

### How to install?

#### Download a copy

* Get a copy of the latest [release](https://github.com/spress-add-ons/Clean-blog-theme/releases).
* Uncompress it.
* Go to `Clean-blog-theme` folder
* `spress site:build --server --watch`

#### With Git

* [Fork this repository](https://github.com/spress-add-ons/Clean-blog-theme/fork)
* Clone it: ` https://github.com/YOUR-USER/Clean-blog-theme.git
* Go to `Clean-blog-theme` folder
* `spress site:build --server --watch`

#### Globally

**This options is not available with `spress.phar`**.

Go to your [Spress](http://spress.yosymfony.com/) installation folder i.e  **~/Spress** and add the following depencency to your `composer.json` file 

```json
"require": {
    "spress-add-ons/Clean-blog-theme": "1.0.*@dev"
}
```

and then run the following command to install the dependency.

```bash
$ composer update
```

Next create your new site:

```bash
$ spress new:site /your-site-dir clean_blog
$ cd /your-site-dir
$ spress site:build --server --watch
```

## Configuration

### Comments

Comments are powered by [Disqus](disqus.com) and it need your 
**disqus shortname**. To get it, you need create a account at this service.
It's free.

```yaml
comments:
  enabled: true
  disqus_shortname: yosymfony
```

### Top menu

Top menu are composed by each of **pages with `title` attribute**. e.g: `about/index.html`:

```yaml
title: "About me"
```

### Contact form

The contact form is a AJAX form configured in `config.yml`:

```yaml
forms:
    contact:
        getsimpleform_api_token:
```

You need a API key from [getsimpleform](https://getsimpleform.com/) service. It's free.

### Writing a post

To create a new post use `new:post` command from Spress:

```bash
$> spress new:site
```

Each post has a header image. You can configure your image and some data about it.

```yaml
header_img:
  url: "img/post-bg-07.jpg"
  author: <NAME>
  author_url: https://flic.kr/p/mjhDwB
```

## License

[Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0).

{'fraction_non_alphanumeric': 0.151372388365424, 'fraction_numerical': 0.0032773453502662844, 'mean_word_length': 3.937310414560162, 'pattern_counts': {'":': 4, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 12, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7069212', 'n_tokens_mistral': 1702, 'n_tokens_neox': 1624, 'n_words': 517}