Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 

Introduction

This plugin adds a :static_id variable into the Jekyll permalink configuration that allows authors to create evergreen permalinks.

NOTE: This plugin also requires server level configuration to redirect requests properly.

Installation

Move hashpermalink.rb into the _plugins folder at the root of your Jekyll project, and update the permalink key in the _config.yml file to include :static_id (e.g. permalink: '/:categories/:title-:static_id').

Then configure your server to serve the correct content for these requests. For example, when using Apache, the .htaccess file may include:

RewriteCond %{REQUEST_URI} -([^-]*)$
RewriteRule ^ %1/index.html

About

A plugin to use hashes in Jekyll permalinks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages