Skip to content

Instantly share code, notes, and snippets.

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC9dyHjrrdDHBMNIUe+4HFDcVvR3FYLPCNjXmEDjGb28P4lQgRVKj5x29ao3BonE9PkPLz7KxULDIMQI7yg263SlbP1lXIuXsbHu+nEd9QZBlOwPTffWZHz547DqnOinFmxfZ/TJZhGNGqEd8DPm8uLP95Udn4XtEnrWRw/jxCdzROUA9JxqSNNyXp8OYH0L36tlHzWqHMLXh5H1dlcDsXQsO6xFA2sN0VQDHEo06z3YeOR8YmjLW3KK7D9ZkVis7+KcvfNAIJEq+QFLyCoUnyMuTOZ1tvDcAu23+Y7pUrqakUWlIYUlXNUmYI8A78SGQpBVKoIeFsStDwutDB+QXM3
@smholloway
smholloway / generate-alias-for-jekyll-post
Created January 31, 2014 05:07
Generate alias entries for Jekyll posts. This is
# Seth Holloway - https://github.com/smholloway
#
# The Jekyll Alias Generator, https://github.com/tsmango/jekyll_alias_generator,
# is a handy way to create meta refresh redirects from an old URL pattern to the
# new. This is helpful when changing blog formats as it helps maintain search
# engine rankings. Unfortunately, you have to create your own alias entries.
# With over 400 posts, I had # to automate it! This script will find all
# Markdown files in your _posts directory then generate an alias entry under the
# title attribute.
#