All Projects → jekyll → Jekyll Sitemap

jekyll / Jekyll Sitemap

Licence: mit
Jekyll plugin to silently generate a sitemaps.org compliant sitemap for your Jekyll site

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Jekyll Sitemap

Amp Jekyll
Build Accelerated Mobile Page versions of your Jekyll posts
Stars: ✭ 278 (-64.45%)
Mutual labels:  jekyll-plugin
Jekyll Paginate V2
Pagination Generator for Jekyll 3 (enhanced replacement for the old built-in jekyll-paginate gem) ⛺
Stars: ✭ 412 (-47.31%)
Mutual labels:  jekyll-plugin
Pup
The Ultimate Boilerplate for Products.
Stars: ✭ 563 (-28.01%)
Mutual labels:  sitemap
Pa11y Ci
Pa11y CI is a CI-centric accessibility test runner, built using Pa11y
Stars: ✭ 291 (-62.79%)
Mutual labels:  sitemap
Squzy
Squzy - is a high-performance open-source monitoring, incident and alert system written in Golang with Bazel and love.
Stars: ✭ 359 (-54.09%)
Mutual labels:  sitemap
Next Sitemap
Sitemap generator for next.js. Generate sitemap(s) and robots.txt for all static/pre-rendered/dynamic/server-side pages.
Stars: ✭ 426 (-45.52%)
Mutual labels:  sitemap
Prestasitemapbundle
A symfony bundle that provides tools to build a rich application sitemap. The main goals are : simple, no databases, various namespace (eg. google image), respect constraints etc.
Stars: ✭ 272 (-65.22%)
Mutual labels:  sitemap
Jekyll Redirect From
🔀 Seamlessly specify multiple redirections URLs for your pages and posts.
Stars: ✭ 630 (-19.44%)
Mutual labels:  jekyll-plugin
Nextjs Sitemap Generator
Generate sitemap.xml from nextjs pages
Stars: ✭ 395 (-49.49%)
Mutual labels:  sitemap
Sitemap Module
Sitemap Module for Nuxt
Stars: ✭ 539 (-31.07%)
Mutual labels:  sitemap
Supercrawler
A web crawler. Supercrawler automatically crawls websites. Define custom handlers to parse content. Obeys robots.txt, rate limits and concurrency limits.
Stars: ✭ 306 (-60.87%)
Mutual labels:  sitemap
Jekyll Archives
📚 Archive pages for your Jekyll tags and categories.
Stars: ✭ 353 (-54.86%)
Mutual labels:  jekyll-plugin
Sitemap
Sitemap and sitemap index builder
Stars: ✭ 463 (-40.79%)
Mutual labels:  sitemap
Sitemap Php
Library for generating Google sitemap XML files
Stars: ✭ 289 (-63.04%)
Mutual labels:  sitemap
Domain hunter
A Burp Suite Extension that try to find all sub-domain, similar-domain and related-domain of an organization automatically! 基于流量自动收集整个企业或组织的子域名、相似域名、相关域名的burp插件
Stars: ✭ 594 (-24.04%)
Mutual labels:  sitemap
Sitemap Generator
Easily create XML sitemaps for your website.
Stars: ✭ 273 (-65.09%)
Mutual labels:  sitemap
Jekyll Import
📥 The "jekyll import" command for importing from various blogs to Jekyll format.
Stars: ✭ 424 (-45.78%)
Mutual labels:  jekyll-plugin
Rust Full Stack
Rust projects here are easy to use. There are blog posts for them also.
Stars: ✭ 745 (-4.73%)
Mutual labels:  sitemap
Jekyll Feed
📝 A Jekyll plugin to generate an Atom (RSS-like) feed of your Jekyll posts
Stars: ✭ 630 (-19.44%)
Mutual labels:  jekyll-plugin
Jekyll Compose
📝 Streamline your writing in Jekyll with these commands.
Stars: ✭ 511 (-34.65%)
Mutual labels:  jekyll-plugin

Jekyll Sitemap Generator Plugin

Jekyll plugin to silently generate a sitemaps.org compliant sitemap for your Jekyll site

Build Status

Usage

  1. Add gem 'jekyll-sitemap' to your site's Gemfile and run bundle
  2. Add the following to your site's _config.yml:
url: "https://example.com" # the base hostname & protocol for your site
plugins:
  - jekyll-sitemap

💡 If you are using a Jekyll version less than 3.5.0, use the gems key instead of plugins.

If all gem plugins have the same priority, they will be executed in the order they are required, generally. Thus, if you have other plugins which generate content and store that content in site.pages, site.posts, or site.collections, be sure to require jekyll-sitemap either after those other gems if you want the sitemap to include the generated content, or before those other gems if you don't want the sitemap to include the generated content from the gems. (Programming is hard.)

Because the sitemap is added to site.pages, you may have to modify any templates that iterate through all pages (for example, to build a menu of all of the site's content).

Note on Use with GitHub Pages Gem

The GitHub Pages gem ignores all plugins included in the Gemfile. If you only include jekyll-sitemap in the Gemfile without also including it in the _config.yml the plugin will not work. This can be confusing because the official Jekyll docs state that plugins can be included in either the Gemfile or _config.yml.

When building a site that uses the GitHub Pages gem, follow the instructions above and ensure that jekyll-sitemap is listed in the plugins array in _config.yml.

⚠️ If you are using Jekyll < 3.5.0 use the gems key instead of plugins.

<lastmod> tag

The <lastmod> tag in the sitemap.xml will reflect by priority:

  1. The modified date of the file as reported by the filesystem if you have jekyll-last-modified-at plugin installed (not compatible with GitHub Pages auto building)
  2. A personalised date if you add the variable last_modified_at: with a date in the Front Matter
  3. The creation date of your post (corresponding to the post.date variable)

Exclusions

If you would like to exclude specific pages/posts from the sitemap set the sitemap flag to false in the front matter for the page/post.

sitemap: false

To exclude files from your sitemap. It can be achieved with configuration using Jekyll v3.7.2 and jekyll-sitemap v1.2.0.

Add a glob config to your _config.yml file.

defaults:
  -
    scope:
      path:            "assets/**/*.pdf"
    values:
      sitemap:         false

Override default development settings

Follow these instructions on Jekyll's documentation.

Developing locally

  • Use script/bootstrap to bootstrap your local development environment.
  • Use script/console to load a local IRB console with the Gem.

Testing

  1. script/bootstrap
  2. script/cibuild

Known Issues

  1. If the sitemap.xml doesn't generate in the _site folder, ensure _config.yml doesn't have safe: true. That prevents all plugins from working.
  2. If the sitemap.xml doesn't generate in the _site folder, ensure that you don't have a sitemap generator plugin in your _plugin folder.

Contributing

  1. Fork the project
  2. Create a descriptively named feature branch
  3. Add your feature
  4. Submit a pull request
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].