Skip to content

Matthimatiker/matthimatiker.github.io

Repository files navigation

Page Management

Build Status

Setup

You can start the server via Docker or directly on the host.

Start Server via Docker

Simply execute the following command, dependencies are installed automatically:

docker-compose up

Start Local Server on Host

Install dependencies (you have to do this once):

bundler install

Start Jekyll locally:

bundle exec jekyll serve --drafts

Open Website

Access the page at http://localhost:4000.

Usage

Active Navigation

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.

Comments

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.

Edit Link

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.

Troubleshooting

Error When Building Native Extensions

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.

References