Jekyll plugins
One main reason we chose to build this template on top of Jekyll is that it is probably the most heavily adopted static site generation tool. A benefit of that is that there is a large ecosystem of plugins to choose from for additional functionality.
If there already exists a Jekyll plugin to achieve a feature (properly and reliably), we elect to not build it into the template.
Pre-installed
These plugins are so useful that we've chosen to bundle them in the template by default. Some of the features in the template rely on these plugins, and these docs assumed they are installed.
Plugin | Description |
---|---|
A Jekyll "Swiss Army Knife". Provides support for table, mathjax, plantuml, mermaid, emoji, video, audio, youtube, vimeo, dailymotion, soundcloud, spotify, etc. See its docs for more info. | |
Not a Jekyll-specific plugin, but very useful. Checks for broken links, images, and more. It is installed by default, but not enabled by default. See how to enable it. | |
Generates a sitemap file and puts it in your website (hidden) for search engines to see. | |
Allows you to add a | |
Generates an RSS-like feed of your blog posts and puts it in your website (hidden) for RSS tools to see. | |
Allows you to access the last time a file on your site was changed. |
Usage of each of these plugins is either passive, or documented on another page where appropriate.
Others
These plugins will be very useful to some, but weren't or couldn't be included in the template for various reasons.
Plugin | Description |
---|---|
Allows authoring you site content in multiple languages. Very valuable, but a very involved setup and effort. | |
An alternative or supplement to the built-in citation capabilities of the template. | |
Populates site-wide fields like title and description from your GitHub repo if not set. | |
Imports a GitHub avatar image from a user name, which you can size and style as you wish. | |
Imports a GitHub Gist and displays its text. |
To install a plugin, follow the instructions here. In summary:
Add
- jekyll-some-plugin
underplugins:
in your_config.yaml
file.Add
gem "jekyll-some-plugin"
undergroup :jekyll_plugins do
in yourGemfile
file.Generate a new
Gemfile.lock
file by previewing your site locally.
Last updated