jekyll-poster

jekyll-poster

Bash script to take the hassle out of manually creating markdown files in "_posts"

Jekyll Poster

Features

  • Creates markdown files formatted for Jekyll with correct filename (YEAR-MONTH-DAY-TITLE.md)
  • Removes the hassle of manually creating your post files
    • Just fill out the information and presto!
  • Runs "bundle exec jekyll build" on script completion

Features yet to come

  • Formatting options for the post body DONE - Currently the script only allows for basic text input, future versions will be able to use any markdown formatting
  • Choose between post for today or a future post DONE
  • Jekyll build on script complete DONE
  • Timezone variable DONE

How to use

  • Change $jekyllPath and $jekyllPostPath to match your Jekyll blog
  • Change time and timezone offset (default at the moment is +0200) as required
  • Run the script (i.e. bash jekyll_poster.sh) and fill out the information!
  • Make final edits to the body
  • Hit Enter
  • ????
  • PROFIT!!!

If you use this all I ask is please leave in the credit at the end! Thanks, and happy blogging!


Jekyll Poster in action


Result