You can start the server via Docker or directly on the host.
Simply execute the following command, dependencies are installed automatically:
docker-compose up
Install dependencies (you have to do this once):
bundler install
Start Jekyll locally:
bundle exec jekyll serve --drafts
Access the page at http://localhost:4000.
The active navigation item can be controlled via active_navigation
variable in the front matter:
---
active_navigation: "about"
---
If omitted, then the "blog" item will be active.
The comments
variable in the front matter controls if comments are allowed:
---
comments: true
---
Per default, comments are enabled for blog posts and disabled for other pages.
The edit_link
variable in the front matter controls if a "edit on GitHub" ribbon is shown in the upper right corner of the page:
---
edit_link: true
---
Per default edit links are enabled for blog posts and disabled for other pages.
If you experience errors during bundler install
when building native extensions and you just updated MacOS, then try the following:
xcode-select --install
sudo xcodebuild -license accept
Retry the installation afterwards.