jamesplease / blog

Blog for Marionettejs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Marionette Blog

screenshot

This blog is built using Hexo.

Steps to get it running:

1. Fork this repo
2. npm install
3. To create a new post in markdown: hexo new draft <filename>
4. Edit the file with your file name in this directory: _drafts
5. Edit your title at top of the file
6. Add a category at the top of the file so that it can be filtered, choose from:
  • tags: news
  • tags: releases
  • tags: tutorials (beginner)
  • tags: tutorials (intermediate)
  • tags: tutorials (advanced)
  • tags: meeting notes
  • tags: behind the scenes
To add multiple tags:
tags:
- news
- releases

Note: Make sure you add a space after the colon

7. To edit a post that has been published, edit the file in this directory: _posts
8. Turn on the server: hexo s (if port 5000 is being used already, try hexo s -p 4000)
9. Preview your post at: localhost:5000
10. Once you're satisfied with your changes, send a pull request
11. To publish a post (moves a post from _drafts to _posts directory): hexo p <filename>

Adding Images

There's a matching folder with the same name as your post. Save you image(s) in that folder.

To link to the image:
![alt text](/path/to/img.png "Title")

Code Highlighting

Backtick code block
``` [language]

    code snippet

```
More info on formatting: http://hexo.io/docs/tag-plugins.html

Happy blogging!


Got questions? Contact @jdaudier at Gitter chat

About

Blog for Marionettejs.com