Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mattms/static_site_template
Build a static site with CoffeeScript, Jade, Markdown and Stylus
https://github.com/mattms/static_site_template
Last synced: about 1 month ago
JSON representation
Build a static site with CoffeeScript, Jade, Markdown and Stylus
- Host: GitHub
- URL: https://github.com/mattms/static_site_template
- Owner: MattMS
- License: mit
- Created: 2015-03-30T04:48:47.000Z (almost 10 years ago)
- Default Branch: gh-pages
- Last Pushed: 2015-03-30T05:24:50.000Z (almost 10 years ago)
- Last Synced: 2024-04-09T16:40:15.362Z (9 months ago)
- Language: HTML
- Homepage: http://mattms.github.io/static_site_template/
- Size: 137 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Static site template
Files to build a static site with CoffeeScript, Jade, Markdown and
Stylus.## Files
After changing any of the files listed below, you should run
`npm run build-all` to compile the CSS, HTML and JS files.### _base.jade
Base template that all Jade templates build from.
### index.jade
Final template to build the page for the current folder.
### script.coffee.md
CoffeeScript that is only run on the current page.
If there are functions that are shared between multiple pages, then they
should be in a file that is included in the parent `_base.jade`.### style.styl
Same as `script.coffee.md`, this contains styles that are only used on
the current page.### *.md
All `*.md` files are included in the appropriate place in `index.jade`.
It is easier to write large blocks of text in Markdown that it is in
Jade, but Jade offers more functionality, so it is used as a wrapper.