Skip to content
zkarpinski edited this page Sep 14, 2010 · 7 revisions

At present I have not properly coded how the yaml front matter is stored. Specifically things like categories are not working at the moment. If anyone needs that feature and wants to hack it in, thats cool.

README:
-
Jekyll Admin: By Zach Karpinski <zkarpinski [at] gmail [dot] com>

LICENSE:
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-

Jekyll Admin assumes several conditions are met:
1. You have a functioning Jekyll blog already configured
2. You are placing Jekyll Admin into the RAILS_ROOT of a functioning Rails application.
3. You want to save your posts in HTML format.

Configuration is done through two YAML files:
- config/jekyll_admin.yml
- config/jekyll_admin_post_template.yml

Start by editing jekyll_admin.yml. There are comments above each configuration option.
Jekyll Admin assumes your relative_blog_path is a standard Jekyll configuration.
This means that the Jekyll configuration file is named _config.yml and that your posts are
all in the _posts directory.

Due to the nature of jekyll rb, every blog can be different. I’ve done my best to make sure
whatever fields you use can be edited with Jekyll Admin. There are some reserved words that
will not be written to your post file even if you put them in the jekyll_admin_post_template.
They are “filename” and “body”. Filename is used internally for the filename of the post.
Body is used to hold the text/html of your post until it is published. Do not use either of
these variables when creating any templates for your posts.

Jekyll Admin currently assumes all files are going to be stored with html markdown.

You can find Jekyll Admin updates on Git Hub:
http://github.com/zkarpinski/Jekyll-Admin

INSTALLATION:
I recommend copying these files into your existing rails app by hand.

Download from git
git clone http://github.com/zkarpinski/Jekyll-Admin.git
OR
wget http://github.com/downloads/zkarpinski/Jekyll-Admin/Jekyll-Admin.zip; unzip -a Jekyll-Admin.zip

rm -rf Jekyll-Admin/.git
rm Jekyll-Admin/.gitignore
cp -R Jekyll-Admin/* /my/web/site.com/

Credits:
I originally created Jekyll Admin for the backend of http://changethis.com/. Change This is operated and
hosted by my employer 800-CEO-READ (http://800ceoread.com). Change This is a great place to get out
your ideas and challenge the status quo, no matter what your opinion is. 800-CEO-READ is a great place
to order bulk business books. When you need 20 or more copies of a book somewhere on a certain date,
they can do it. Even if that “somewhere” is more than one place.

Screenshots

Clone this wiki locally