838-agency / jekyll_alias_generator

A Jekyll plugin for generating redirect pages for posts.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Alias Generator for Posts

Generates redirect pages for posts with aliases set in the YAML Front Matter.

Place the full path of the alias (place to redirect from) inside the destination post's YAML Front Matter. One or more aliases may be given.

Example Post Configuration:

---
  layout: post
  title: "How I Keep Limited Pressing Running"
  alias: /post/6301645915/how-i-keep-limited-pressing-running/index.html
---

Example Post Configuration:

---
  layout: post
  title: "How I Keep Limited Pressing Running"
  alias: [/first-alias/index.html, /second-alias/index.html]
---

About

A Jekyll plugin for generating redirect pages for posts.