I hereby claim:
- I am laescalera on github.
- I am laescalera (https://keybase.io/laescalera) on keybase.
- I have a public key ASAOOJxw2Ekh6zwBGubUAlMojDTzalQtGxJ58ogjyuAGugo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
#---------/---------------------\---------# | |
#--------|- Jekyll Post Creator -|--------# | |
#---------\---------------------/---------# | |
# Ripped and tweaked from https://gist.github.com/kabrooski/6107707 | |
# Simply put the script in your site directory, edit the configs to fit your setup, and run it with: | |
# ./post "post title" |
#!/bin/bash | |
DATE=$(date '+%Y-%m-%d') | |
DATETIME=$(date '+%Y-%m-%d %H:%M') | |
POSTS_DIR="./_posts/" | |
DRAFTS_DIR="./_drafts/" | |
IMAGES_BASE_DIR="./images/" | |
for arg in "$@"; do | |
case $arg in |
#!/bin/bash | |
if [ "$#" -ne 1 ] ; then | |
echo "Usage: $0 <title>" >&2 | |
exit 1 | |
fi | |
title=`echo "$1" |sed 's/ /-/g'` | |
fileName="_posts/`date +%Y-%m-%d-$title.markdown`" |
#!/bin/bash | |
# Katie Harron - @pibby | |
# This bash script will setup a new Jekyll blog post in Markdown and open it for editing in Sublime Text 2 | |
echo "Post Title: " | |
read title | |
echo "Post Description: " | |
read desc | |
echo "Post Tags: " | |
read tags |