Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tadatuta/bb

static blog generation with BEM
https://github.com/tadatuta/bb

Last synced: 30 days ago
JSON representation

static blog generation with BEM

Awesome Lists containing this project

README

        

# BB

## Installation

Run in terminal

```bash
git clone https://github.com/tadatuta/bb.git
cd bb
npm i
```

## Rebuild and start the server

```bash
npm start
```

## Rebuild content

```bash
npm run build
```

## Content

To generate static pages put markdown files into `content/pages` with `lang.md` suffixes (e.g. `index.en.md`).

To generate blog roll put markdowns into `content/blog` folder.
You may use yaml header to set title and tags like this:

```
---
title: Post title
tags:
- tag1
- tag2
- tag3
---
```

Open http://localhost:8080/ in browser to see the result.