I’ve finally gotten around to looking into Jekyll a bit more, and one of the more exciting projects is Jekyll Admin. The documentation is a bit loose (the developer documentation is quite good). I’m writing this under the assumption that you’re using OS X/Linux or such with Ruby preinstalled (OS X comes preinstalled).
Open, up the terminal.
Step 1: Install Jekyll-admin
I had a bit of trouble with the install on both my MacBook Pro and my Mac Pro. If it hangs, hit command period and run the command again. It should work second go around.
Step 2: Configure Jekyll
Open up your
_config.yml in an editor.
plugins in your config (depending on your version) and add Jekyll admin. Right now Jekyll admin should run, but…. before you get too far ahead of yourself, you will want to add front matter defaults to your yml file.
Step 3: Add front matter defaults.
You may already have configured front matter defaults, depending on your setup. If you do not, then every used meta-data field will have to be added by hand to every post. My blog almost 99% of its content exists in posts. Thus I only needed to add a configuration for
Make sure you have front matter defaults set up for posts. For my blog, I do not make heavy use of front matter, my configuration I added the following so every post would have pre-filled for any post the categories, tags and layout.
Keep in mind yaml requires spaces and not tabs. Using tabs will not work for yaml.
Step 4: Run Jekyll.
Start up Jekyll as you normally would. Navigate to http://127.0.0.1:4000/admin/ after you’ve spun up Jekyll. Congrats. That’s it.