Skip to content

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

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages