Forked from the official Jekyll plugin Jekyll Admin, Jekyll Manager provides users with a traditional CMS-style graphical interface to author content and administer Jekyll sites.
The project is divided into two parts. A Ruby-based HTTP API that handles Jekyll and filesystem operations, and a Javascript-based front end, built on that API.
Refer to the installing plugins section of Jekyll's documentation and install the jekyll-manager
plugin as you would any other plugin. Here's the short version:
-
Add the following to your site's Gemfile:
gem 'jekyll-manager', group: :jekyll_plugins
-
Run
bundle install
- Start Jekyll as you would normally (
bundle exec jekyll serve
) - Navigate to
http://localhost:4000/admin
to access the administrative interface
Jekyll Manager is an open source project, forked from the official Jekyll plugin Jekyll Admin, and repackaged with some alterations and additions, a few of which, may eventually be included in the official version.
- Sidebar routes cannot be manually hidden. They're rendered based on whether Jekyll has read-in at least one file of the concerned type.
- Routes to Collections other than Posts are hidden within a collapsed list-item by default.
- Metadata fields for front matter are hidden with a collapsed section by default.
- Input path fields show / require the full
relative_path
of the requested file. - Minor style changes.
- Other miscellaneous changes.
- A basic dashboard that provides insight on the current site and a means to add files to cetain empty content types (Pages, Posts, Data Files, Static Files).
- Draft posts can be created and edited via the admin interface provided your config file has
show_drafts: true
- Template files (files within
_layouts
,_includes
,_sass
andassets
at the root of your site) can be edited via the interface. - Template files (and files within any directory) within a theme-gem can be viewed and copied over to the source directory for editing.
- Ability to select layouts for a document based on available layouts in the Site.
- Special metadata field for tags.
Unless your contribution improves the changes outlined above or updates this repo's documentation, we'd appreciate it if you propose those changes at the upstream repo. Upstream changes may eventually find their way here after being altered as required.
Interested in contributing to Jekyll Manager anyways?. See the contributing instructions, and the development docs for more information.
The gem is available as open source under the terms of the MIT License.