Content about Plugins in Jekyll
📦 Essential Plugins for Jekyll Blog
Jekyll is a lightweight and powerful static site generator. By adding a few plugins, we can extend its capabilities for SEO, RSS feed, and automatic sitemap generation. Here are three essential plugins commonly used in Jekyll blog development.
🔗 1. jekyll-sitemap
Description:
This plugin automatically generates a sitemap.xml file, which helps search engines (like Google) index your blog’s pages.
Benefits:
- Enhances SEO (Search Engine Optimization)
- Helps search engine crawlers explore your site structure
- No need to manually create a sitemap
How It Works:
Once this plugin is active, a sitemap.xml
file is automatically created in the root directory when you run jekyll build
.
Example Output:
https://yourdomain.com/sitemap.xml
📡 2. jekyll-feed
Description:
This plugin automatically generates an RSS 2.0 feed for your blog. RSS feeds are useful for letting people subscribe to your blog content via RSS readers.
Benefits:
- Makes it easier for users to follow your blog
- Can be integrated with newsletter services or RSS applications
How It Works:
Automatically creates a feed.xml
file available at the root of your website.
Example Output:
https://yourdomain.com/feed.xml
🔍 3. jekyll-seo-tag
Description:
This plugin helps improve your blog’s SEO by automatically adding SEO meta tags in the HTML <head>
.
Benefits:
- Adds meta title, description, canonical URL, and more
- Supports Open Graph (for Facebook), Twitter Cards, etc.
- Automatically pulls data from
_config.yml
How to Use:
Make sure you include the following tag in your layout HTML file (typically in default.html
):
<!-- Begin Jekyll SEO tag v2.8.0 -->
<title>Plugins | Home</title>
<meta name="generator" content="Jekyll v3.10.0" />
<meta property="og:title" content="Plugins" />
<meta property="og:locale" content="en" />
<meta name="description" content="Content about Plugins in Jekyll" />
<meta property="og:description" content="Content about Plugins in Jekyll" />
<link rel="canonical" href="https://m-zakifahrezi.github.io//en/pertemuan-6.html" />
<meta property="og:url" content="https://m-zakifahrezi.github.io//en/pertemuan-6.html" />
<meta property="og:site_name" content="Home" />
<meta property="og:type" content="article" />
<meta property="article:published_time" content="2025-04-24T00:00:00+00:00" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="Plugins" />
<script type="application/ld+json">
{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2025-04-24T00:00:00+00:00","datePublished":"2025-04-24T00:00:00+00:00","description":"Content about Plugins in Jekyll","headline":"Plugins","mainEntityOfPage":{"@type":"WebPage","@id":"https://m-zakifahrezi.github.io//en/pertemuan-6.html"},"url":"https://m-zakifahrezi.github.io//en/pertemuan-6.html"}</script>
<!-- End Jekyll SEO tag -->
And ensure important information such as title
, description
, and url
is defined in _config.yml
.
🚀 How to Add Plugins
Add the following to your Gemfile
:
group :jekyll_plugins do
gem "jekyll-sitemap"
gem "jekyll-feed"
gem "jekyll-seo-tag"
end
Then run:
bundle install
And make sure the plugins are listed in _config.yml
:
plugins:
- jekyll-sitemap
- jekyll-feed
- jekyll-seo-tag
📝 Conclusion
Using plugins like jekyll-sitemap
, jekyll-feed
, and jekyll-seo-tag
is a smart step to make your Jekyll blog more search engine- and user-friendly. With simple configuration, you can achieve professional features!
Happy blogging! 🚀