Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ricsam/murkel
Generate static site from markdown files
https://github.com/ricsam/murkel
Last synced: 10 days ago
JSON representation
Generate static site from markdown files
- Host: GitHub
- URL: https://github.com/ricsam/murkel
- Owner: ricsam
- Created: 2015-06-26T22:29:45.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-27T21:25:56.000Z (over 9 years ago)
- Last Synced: 2024-09-14T15:19:32.463Z (2 months ago)
- Language: HTML
- Homepage:
- Size: 418 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# murkel
Generate static site from markdown files## Folder Structure
```
assets
│ main.css
│ main.js
│
pages
│ 404.html
│ index.md
│
└───menu
│ about.md
│ contact.md
│
├───submenu
│ │ about-submenu.md
│ │ information.md
│ │ ...
│
│
scaffolding
│ page.html
│ header.html
│ body.html
│ footer.html```
Run the cli.coffee with coffeescript from the root folder. A folder named `static_site` will be created containing the same structure as `pages` but compiled by the templates in `scaffolding`. `assets` will also be copied over to `static_site` folder.
Add `---` JSON `---` to specify data that will be available in the views.
For the example:
```
---
"title": "Some title"
---
```
the title property is set in every file, and is then printed out in the menu.