Skip to content

Instantly share code, notes, and snippets.

@mookjp mookjp/gist:3756049
Created Sep 20, 2012

What would you like to do?
Script generating mynt template with date
# Generate mynt template file with filename.
# The argument should be the title of the article.
filename=`date +%Y-%m-%d`-$
touch $filename
cat <<_EOT_ > $filename
layout: post.html
tags: []
# generated text
echo Generated: $filename
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.