KevsRobots Learning Platform
48% Percent Complete
By Kevin McAleer, 3 Minutes
Welcome to Lesson 4. In this lesson, we’ll explore the various ways you can customize your Jekyll site to make it truly your own. We’ll look at themes, layouts, and how to add custom CSS and JavaScript for more personalized functionality.
Jekyll themes provide a quick way to style your site. But, they are also fully customizable.
theme
setting in your _config.yml
file._config.yml
The
_config.yml
file is the main configuration file for your Jekyll site. It contains settings like the site’s title, description, and theme. It’s written in YAML, a human-readable data serialization language.Here is an example
_config.yml
file:title: My Jekyll Site description: A site about Jekyll theme: jekyll-theme-minimal
_layouts
directory, you can edit them to change how pages and posts are structured.Jekyll allows you to alter the CSS and HTML for finer control over your site’s appearance.
assets/css
directory._layouts
and _includes
directories.Enhance your site’s interactivity and functionality with JavaScript.
assets/js
directory.You now have the tools to customize your Jekyll site, making it not only functional but also unique in design and interactivity.
Customize the theme of your Jekyll site. Try modifying the CSS to change the color scheme and add a simple JavaScript function, like a dynamic date display.
You can use the arrows ← →
on your keyboard to navigate between lessons.