Skip to content

Instantly share code, notes, and snippets.

@jamtur01
Created February 27, 2015 19:25
Show Gist options
  • Save jamtur01/7929fc1757be2020764e to your computer and use it in GitHub Desktop.
Save jamtur01/7929fc1757be2020764e to your computer and use it in GitHub Desktop.
add Jekyll headers to top of markdown files
perl -pi -e '$.=0 if eof;print "---\nlayout: default\n---\n\n" if ($.==1)' *.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment