README.md in georgi-shinmun-0.3.10 vs README.md in georgi-shinmun-0.4
- old
+ new
@@ -1,24 +1,21 @@
Shinmun - a git-based blog engine
==========================================
Shinmun is a small git-based blog engine. Write posts in your favorite
-editor, git-push it and serve your blog straight from a
-repository.
+editor, git-push it and serve your blog straight from a repository.
-
### Features
* Posts are text files formatted with [Markdown][8], [Textile][9] or [HTML][10]
* Runs on [Rack][6], [Kontrol][3] and [GitStore][7]
* Deploy via [git-push][11]
* Index, category and archive listings
* RSS feeds
* Flickr and Delicious aggregations
* Syntax highlighting provided by [CodeRay][4]
* AJAX comment system with Markdown preview
-* Web frontend using [WMD Editor][12]
### Quickstart
Install the gems:
@@ -90,15 +87,13 @@
RHTML, YAML, Delphi
To activate CodeRay for a code block, you have to declare the language
in lower case:
- @@ruby
-
- def method_missing(id, *args, &block)
- puts "#{id} was called with #{args.inspect}"
- end
+ def method_missing(id, *args, &block)
+ puts "#{id} was called with #{args.inspect}"
+ end
**Note that the declaration MUST be followed by a blank line!**
### Directory layout
@@ -169,12 +164,10 @@
Layout and templates are rendered by *ERB*. The layout is defined in
`templates/layout.rhtml`. The content will be provided in the variable
`@content`. A minimal example:
- @@rhtml
-
<html>
<head>
<title><%= @blog.title %></title>
<%= stylesheet_link_tag 'style' %>
</head>
@@ -184,12 +177,10 @@
</html>
The attributes of a post are accessible as instance variables in a
template:
- @@rhtml
-
<div class="article">
<div class="date">
<%= date @date %>
</div>
<h2><%= @title %></h2>
@@ -245,12 +236,10 @@
Passenger as described in my [blog post][2].
Assuming that you are on a Debian or Ubuntu system, you can create a
file named `/etc/apache2/sites-available/blog`:
- @@xml
-
<VirtualHost *:80>
ServerName myblog.com
DocumentRoot /var/www/blog/public
</VirtualHost>
@@ -262,26 +251,10 @@
domain:
$ /etc/init.d/apache2 restart
-### Web Frontend
-
-The example blog has a builtin web frontend. Currently it only works
-on localhost:9292.
-
-The frontend allows you to create, edit, read or delete posts or
-pages. Editing a post shows up a form with the [wmd editor][12]. You
-have to look yourself for a correct YAML header, otherwise you will
-get incorrect results.
-
-One nice thing about the frontend is the *Commits* page, where you can
-look at a list of recent commits. Clicking on a commit brings you to a
-single commit overview, where you can inspect changes introduced by
-this particular commit.
-
-
### GitHub Project
Download or fork the package at my [github repository][1]
@@ -294,8 +267,5 @@
[7]: http://github.com/georgi/git_store
[8]: http://daringfireball.net/projects/markdown/
[9]: http://textile.thresholdstate.com/
[10]: http://en.wikipedia.org/wiki/Html
[11]: http://www.kernel.org/pub/software/scm/git/docs/git-push.html
-[12]: http://wmd-editor.com/
-[13]: http://github.com/mojombo/jekyll
-[14]: http://github.com/blog/272-github-pages