Created
February 27, 2015 19:25
-
-
Save jamtur01/7929fc1757be2020764e to your computer and use it in GitHub Desktop.
add Jekyll headers to top of markdown files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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