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.
- Host: GitHub
- URL: https://github.com/serbanghita/flatsite
- Owner: serbanghita
- License: mit
- Created: 2013-11-19T17:02:08.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2015-08-04T13:41:29.000Z (about 10 years ago)
- Last Synced: 2025-01-24T09:42:47.147Z (9 months ago)
- Language: HTML
- Homepage:
- Size: 244 KB
- Stars: 1
- Watchers: 5
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
2015-05-15 19:00
My article text here.
```
Generate it using `lib/app.php`
Check the `example/public/`. This folder will contain all your website pages and assets.