/go-blog-gae

Just some very minor additions for go-blog to run in on GAE

Primary LanguageGo

Clone of the Go-Blog project.

Original documentation can be found there.

Differences

  1. Deployable to GAE

  2. Blog posts can be generated using the Markdown

  3. Posts can include other templates

The blackfriday library is utilized for parsing Markdown

How to use post generation

I am using this blog under Windows, so if you need Shell scripts, you will have to create them. Sorry.

I) newpost.bat test-first-post -> will create the test-first-post.md in the "markdown" forlder. If you have "Meditor" set in the app.json then it will execute [Meditor] test-first-post.md

I am using the Markdownpad 2 and like it a lot so far.

Open test-first-post.md in the editor of your choice and edit it:

------
layout: post -> you can change the layout of the post, but you will have to create your own templte then
Title: "Insert your title here" -> Change this to your title
Slug: "test-first-post" -> leave this as it is
Date: "2012-10-17 22:38" -> Change this to the date you want to be displayed. Probably I will add this automatically later
comments: yes -> leave this as it is. This is not realized yet. 
Tags:
- "java" -> I think this is quite obvious ;)
- "job"
------
Place your text here please -> Write your awesome text here

II) generate.bat test-first-post -> will generate HTML and change the posts.json

This project is deployed as a Demo here

I personally do not use this blog engine anymore.

License (this section is not modified from the original project)

Licensed under MIT.

Copyright © 2012 Matt West

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.