déGit Pages supports Jekyll as a built-in preprocessor for Branch Deployments, letting you use Jekyll’s templating, Markdown processing, and plugin ecosystem without any external CI setup or custom web design - just your README, deployed as a beautiful website, just like this one.
Jekyll is a static site generator written in Ruby. It converts Markdown and Liquid templates into a static site, and is the same preprocessor used by GitHub Pages. déGit Pages runs Jekyll on your behalf when the Jekyll preprocessor is enabled for a Branch Deployment.
The following plugins may be listed under plugins: in your _config.yml and included in your Gemfile. Any plugin not on this list will be stripped before your site is built.
plugins:
_config.yml
Gemfile
jekyll-theme-degit-pages-ctp
git: "https://www.degit.click/deGit/degit-pages-jekyll-theme-ctp.git"
jekyll-feed
jekyll-seo-tag
jekyll-sitemap
sitemap.xml
jekyll-paginate
jekyll-redirect-from
jekyll-relative-links
jekyll-optional-front-matter
jekyll-readme-index
README.md
jekyll-titles-from-headings
jekyll-gfm-admonitions
jekyll-glossary_tooltip
jekyll-figure
figure
figcaption
jekyll-figure-auto
{\% figure \%}
git: "https://www.degit.click/kanskje00/jekyll-figure-auto.git"
jekyll-baseurl-images
git: "https://www.degit.click/kanskje00/jekyll-baseurl-images.git"
jekyll-codeblock-labels
git: "https://www.degit.click/kanskje00/jekyll-codeblock-labels.git"
jekyll-color-tags
#544B99
git: "https://www.degit.click/kanskje00/jekyll-color-tags.git"
The following themes may be used via the theme: key in your _config.yml. Themes must also be listed in your Gemfile.
theme:
jekyll-theme-degit-pages
git: "https://www.degit.click/deGit/degit-pages-jekyll-theme.git"
minima
jekyll-theme-midnight
texture
To enable the Jekyll preprocessor, go to your repository’s Settings -> Pages, and:
If your repository does not include a Gemfile or _config.yml, déGit Pages will use the following defaults:
Default Gemfile:
source "https://rubygems.org" gem "jekyll" gem "minima" gem "jekyll-feed" gem "jekyll-seo-tag" gem "jekyll-readme-index" gem "jekyll-titles-from-headings" gem "jekyll-optional-front-matter"
Default _config.yml:
theme: minima plugins: - jekyll-feed - jekyll-seo-tag - jekyll-readme-index - jekyll-titles-from-headings - jekyll-optional-front-matter
This means a repository containing only Markdown files — including a README.md — will produce a working site with no configuration needed.
If you have a _config.yml without a theme key, and have no custom _layouts folder, the preprocessor will inject the Minima theme for you.
theme
_layouts
To customise which gems are used, add a Gemfile to the root of your repository. Only gems on the supported plugins and themes lists above will be installed — anything else is stripped before the build runs, and will most likely break the build or the way your site looks.
source "https://rubygems.org" gem "jekyll" gem "jekyll-seo-tag" gem "jekyll-sitemap" gem "jekyll-theme-degit-pages", git: "https://www.degit.click/deGit/degit-pages-jekyll-theme.git"
Add a _config.yml to the root of your repository to configure Jekyll and its plugins. The plugins: key must only list supported plugins — unsupported entries are stripped before the build runs.
title: My Site description: A site hosted on déGit Pages. theme: jekyll-theme-degit-pages plugins: - jekyll-seo-tag - jekyll-sitemap
If you would like to use a custom theme, you can create a _layouts folder in the root of your source directory. This will prevent the preprocessor from injecting a default theme, allowing you to build your own.
The Jekyll preprocessor does not support plugins and themes that are not preapproved. If you would like to use a plugin or theme not listed here, you can open an issue with a plugin request or theme request label. I will try to review these ASAP :3
plugin request
theme request