Sample blog website built in Jekyll static site generator, using headless CMS Kentico Kontent as a content repository and kontent-jekyll plugin for content and data import.
Find live sample project here.
Steps 1 and 3 require administrator privileges.
- Install Ruby (v2.6.3+) with DevKit and RubyGems. You need to have MSYS2 on your system if you are using Windows and it can be installed via DevKit. Choose 3rd option in the DevKit console installer to install MSYS2 and MINGW development toolchain.
- Clone or download the repository.
- Install dependencies:
gem install jekyll kontent-jekyll bundler:2.0.1
and confirm overriding the bundler version installed with Ruby env - Install gems in source folder:
bundle update
- Create an account on Kentico Kontent.
- Optionally you can create a new clean project.
- Go to Project settings > API keys.
- Activate Management API
- Set
project_id
in_config.yml
to your Project ID from API keys page. - Initialize Kentico Kontent sample content
- In your KK project open Settings, then Localization. Click
Default project language
and rename codename toen-US
- Create new language with codename
en-GB
- Open KK Template Manager
- Copy your Content Management API key and Project Id
- Check 'Publish language variants after import'
- Upload
KK_sample_content.zip
- Click on 'Import data'
- In your KK project open Settings, then Localization. Click
- Once the import is finished execute
bundle exec jekyll build
to build orbundle exec jekyll serve
to build and run your site.
You can learn more on the plugin's wiki.
Check out the contributing page to see the best places to file issues, start discussions, and begin contributing.
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the Kontent-Jekyll project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.