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

https://github.com/serbanghita/flatsite

Generate and deploy pure HTML static websites.
https://github.com/serbanghita/flatsite

Last synced: 8 months ago
JSON representation

Generate and deploy pure HTML static websites.

Awesome Lists containing this project

README

          

FlatSite
========

> Generate and deploy pure static websites.

If your website is based around _posts_ and _tags_, and you want to make it database free
so you can be able to host it anywhere (including GitHub), here is the solution.

Configure your website using the `private` folder.

```
example/private/
posts/
themes/
config.json
```

Add your posts in the `private/posts/` folder.

```
example/private/posts/
my-first-article.html
my-second-article.html
...
```

Each `post` must be proper HTML formatted.

```html

Title



My article text here.


```

Generate it using `lib/app.php`

Check the `example/public/`. This folder will contain all your website pages and assets.