Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fresheyeball/html-templates
Html templates won the hard way with FIRE! Released and maintained here as Open Source.
https://github.com/fresheyeball/html-templates
Last synced: 7 days ago
JSON representation
Html templates won the hard way with FIRE! Released and maintained here as Open Source.
- Host: GitHub
- URL: https://github.com/fresheyeball/html-templates
- Owner: Fresheyeball
- Created: 2013-05-16T18:43:07.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-05-17T06:39:52.000Z (over 11 years ago)
- Last Synced: 2024-05-09T13:40:35.601Z (6 months ago)
- Size: 119 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
html-templates
==============Html templates won the hard way with FIRE! Released and maintained here as Open Source.
# Usage
These templates are generated with [jade](http://jade-lang.com/) which is a most excellent templating language and markup preprocessor. There is no need to use the jade versions at all. If you like you can simple edit the html files found in `/html` to suit your needs.
However should you choose to use the jade files you will need either
- [node.js](http://nodejs.org/) with the [jade npm](https://npmjs.org/package/jade) installed
- [codekit](http://incident57.com/codekit/) a stand alone OSX application that processes any front end language you wishYou can then take advantage of the `mixin`s found in `/jade/mixins`, which will allow you to quickly and easily custom generate an html template.
## Mixins
All arguments are optional. Depending on your version of jade, arguments may need to be all on one line :(
mixin metaItems({
allowIE8 : ,
html5shive :
author : ,
title : ,
description : ,
designer : ,
copyright :
})mixin mobile({
apple : ,
viewport :
})mixin googleAnalytics({
code : ,
egar :
})mixin facebook({
title : ,
description : ,
image :
})# Purpose
These templates are intended to be the minimum necessary recommended for as many usecases as possible. That means as little opinion as possible, which means no 'twitter bootstrap', 'jquery', 'knockout' or any other libraries. Also, no Paul Irish conditional comments or other hacks are included.
Adding any of those components to the template assumes asset pipeline along with about 50 other things about how the template is to be used. If you want jQuery from the CDN add it, its cool, its about what you want. :)