Skip to content

Commit

Permalink
updated installation instructions (tested on a new aws ec2 instance)
Browse files Browse the repository at this point in the history
  • Loading branch information
philippkeller committed Jan 25, 2018
1 parent 70d1d3a commit aa5cac6
Showing 1 changed file with 53 additions and 2 deletions.
55 changes: 53 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,59 @@
# Hexo theme based on twitter bootstrap

See [Philipps blog](http://www.philippkeller.com/2014/06/06/in-eigener-sache-blog-redesign/?source=hexo) for a demo.
See [This example site](http://hexo-example.s3-website.eu-central-1.amazonaws.com/) for a demo.

### Features of this theme
# Installation

```
npm install hexo-renderer-less --save
cd themes
git clone https://github.com/philippkeller/hexo-theme
-twbootstrap.git
```

Then `theme: hexo-theme-twboostrap` into your `_config.yml`

# Features

## Highlightjs

Highlight.js enables syntax highlighting for your code blocks.

In `_config.yml` remove the whole `highlight` block and replace it with

```yaml
highlight:
enable: false
```
and instead add:
```yaml
highlightjs: atelier-estuary-light
```
Then do
```
hexo clean
hexo generate
```

To get highlightjs working.

For a full list of all themes see [this demo page](https://highlightjs.org/static/demo/)

## Menu

Enable the menu on top with e.g.

```yaml
menu:
Home: /
Archives: /archives
```
## Features of this theme
- optimized for readability (~70 characters per line, enough margin between body and sidebar)
- done for offline writing: all css and js files are part of the theme, the blog looks the same online as offline
Expand Down

0 comments on commit aa5cac6

Please sign in to comment.