https://github.com/metafizzy/metafizzy.co
:bear: Metafizzy site!
https://github.com/metafizzy/metafizzy.co
Last synced: 10 months ago
JSON representation
:bear: Metafizzy site!
- Host: GitHub
- URL: https://github.com/metafizzy/metafizzy.co
- Owner: metafizzy
- Created: 2011-05-14T03:54:40.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2023-07-10T23:46:59.000Z (almost 3 years ago)
- Last Synced: 2025-03-29T17:01:29.129Z (about 1 year ago)
- Language: Handlebars
- Homepage: https://metafizzy.co
- Size: 1.76 MB
- Stars: 29
- Watchers: 2
- Forks: 7
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [metafizzy.co](https://metafizzy.co)
Metafizzy company site
Built with Gulp and Handlebars.
## Initialize
``` bash
npm install
```
## Tasks
```
gulp
# builds production site in build/
gulp dev
# builds dev site in build
# starts server for localhost:3000
```
Dev site lists all .css and .js files individually for easy debugging.
After building, the contents of `build/` get synced to S3 with [s3cmd](http://s3tools.org/s3cmd).
## Contents
+ **_posts**: Blog posts. The site was previously built with Jekyll, so posts are still in `_posts`. As with Jekyll, post files have YAML Front Matter and Markdown content.
+ **assets**: Fonts, images, other files
+ **modules**: See modules below
+ **pages**: Page templates
+ **tasks**: Gulp tasks
### Modules
A module is a re-usable view that be used on any page. I'm riffing on [BEM](https://bem.info) methodology. Modules are self-contained and shouldn't muck with one another. A module may have a `.js`, `.css`, and Handlebars `.mustache` template file. All JavaScript and CSS code is contained in modules. CSS is written in [BEM syntax](http://csswizardry.com/2013/01/mindbemding-getting-your-head-round-bem-syntax/).