Skip to content

Redirect to a random Jekyll post, page or document. Github Pages compatible. (This repository is archived. Issues are disabled. Pull requests will be ignored.)

License

Notifications You must be signed in to change notification settings

jekylltools/jekyll-random-redirect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jekyll Random Redirect

Jekyll page that redirects to a random post, page or document using Javascript. Fully compatible with Github Pages.

View a live demo running on Github Pages. The code and configuration for the demo is in the gh-pages branch.

Usage

  1. Add random.html to the site.
  2. Rebuild the site, then visit the page and you'll be redirected to a random post.

By default, the page will redirect only to posts. You can include pages and documents from collections by adding a setting in _config.yml

random_redirect:
  pages: true
  documents: true

About

Redirect to a random Jekyll post, page or document. Github Pages compatible. (This repository is archived. Issues are disabled. Pull requests will be ignored.)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages