This is our Engineering website. Everyone at YP is welcome to contribute.
Fork the repo, add a blog post and sumbit a pull request.
Fork the repo using the Fork botton at the top right corner.
git clone git@git.corp.attinteractive.com:dstools/engineering-website.git
cd engineering-website
npm install # installs all dependencies
./scripts/start
Open http://localhost:9778/ to view the website
Create or edit a blog post. all posts are in src/documents/posts
touch src/documents/posts/best-restaurants.html.md
if it looks good on your localhost commit and push your changes
git add .
git commit -am "best restaurants"
git push
You are awesome! An email will be sent to us and we will publish your post http://engineering-website.herokuapp.com as soon as we can.
We use markdown for writing blog posts.
---
date: 2012-09-13
title: The best restaurants in Glendale
authorLink: 'https://github.com/oren'
authorName: 'oren'
authorImage: 'https://secure.gravatar.com/avatar/ea28a1533185f15e9364a8db6f9c0bae?s=140&d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png'
layout: post
---
After many months of eating, hours of analyzing hundreds of dishes,
and untold numbers of discussions, we have compiled a list of the most compelling places to dine in Glendale—and beyond.
We hope our choices, and the order in which they’re ranked, incite discussion—not to mention many nights out on the town.
When we set out to rank restaurants for our second annual 25 Best Restaurants list,
we didn’t expect there to be a huge shift from 2010’s roundup. Boy, were we wrong.
The last year has seen a tremendous number of new—and very good—restaurants open,
and the local dining scene has continued to mature and rocket upward.
We hope our choices, and the order in which they’re placed, incites discussion—not to mention many dinners out.
## Here are the top 3
* Raffi's Place Restaurant
* Far Niente Ristorante
* Mini Kabob
headers
# this is an h1 header
## this is an h2 header
### this is an h3 header
#### this is an h4 header
##### this is an h5 header
list
* chipotle
* poquito mas
* olive garden
- chipotle
- poquito mas
- olive garden
numbered lists
1. apple
1. grape
1. tomato
- apple
- grape
- tomato
link
what a great [website](http://www.google.com)
what a great website
image
![image](http://www.welaf.com/uploads/201007/20/imgs/1279673882_miserable-life-of-a-small-cat.jpg)
code:
```ruby
require 'kitty'
cat = Kitty.new("Hello")
puts cat.miaoo
```
.
require 'kitty'
cat = Kitty.new("Hello")
puts cat.miaoo
line break (2 spaces after the first line)
hello
world
it uses DocPad - a site generator that watches
changes on 'src' folder, and generate a website into 'out' folder.
Docpad also run a node server (express.js) that serve the content of 'out' folder.