Deerlin Theme for use on Jekyll-powered web sites such as GitHub Pages.
Support for the Deerlin Theme for Jekyll will end on July 1, 2023, thanks to all members of this project.
- Customizable footer
- Desktop devices
- Google Analytics 4
- Meta theme color
- Mobile devices
- Navigation bar
- Printer devices
- Tablet devices
Deerlin Theme for Jekyll relies on these plugins for some of its functions like managing the tags used by SEO.
-
Add the following code to your
_config.yml
remote_theme: deersoftware-dev/jekyll-deerlin@v1.1.0 plugins: - jekyll-remote-theme
-
If you running locally, don't forget to add the following line to your
Gemfile
gem "jekyll-remote-theme"
The configuration file is located in the root folder of the project, it contains the properties that will be applied to the web site as a whole.
An error note displayed for users who have not allowed JavaScript to run in their browsers.
Object array containing the items of the navigation bar.
Display name of this navbar item.
URL of this navbar item.
A custom message to the footer.
Sets the default meta theme color. (See Mozilla Docs)
A GA4 Tag from Google Analytics to be used.
Object used to enable deprecated features that aren't supported anymore.
Enable the deprecated features. It is recommended to not set this property as true
since these features are not maintained anymore.
URL for the logo that gonna be used as website title in the desktop mode.
Enables the use of the Source Sans Pro font. It is not recommended to use this font as it slows down Deerlin's performance.
Enable the legacy mobile navbar script which uses the display property instead of a CSS class and has no animation.
The configuration per page is located at the top of each page file and its function is to configure the page to which they belong.
Sets meta theme color on this page, overriding the default. (See Mozilla Docs)
Deerlin uses CSS variables to define the colors of its elements, so that any customization in the color theme can be quick and easy.
- Copy
assets/css/style.scss
from Deerlin for Jekyll to your web site. - Edit
@import "color-dark";
to the color theme of your choose. - You can also copy the content of any color theme in
_sass
folder to yourstyle.scss
and manually edit each color value, don't forget to remove the import declaration if you want use a custm color theme.
- color-dark (default)
- color-neutral
- color-light
- color-deersoftware
Rouge is the library that Jekyll uses to render code blocks and Deerlin leaves it free for the web site author to use the Rouge theme he wants, even offering some themes.
- Copy
assets/css/style.scss
from Deerlin for Jekyll to your web site. - Edit
@import "rouge-molokai";
to the Rouge theme of your choose. - You can also copy the content of any Rouge theme in
_sass
folder or download from the internet to yourstyle.scss
and manually edit each color value, don't forget to remove the import declaration if you want use a custom Rouge theme.
- rouge-molokai (default)
- rouge-igorpro
- rouge-fruity
The favicon used in this web site is a property of DeerSoftware. All Rights Reserved.
The Deerlin Theme is a project from DeerSoftware and is licensed with the MIT License to anyone can use, modify and distribute your own Deerlin Theme.