practice-beefki/ideas/jekyll_helper.txt

33 lines
786 B
Plaintext
Raw Normal View History

2017-05-13 19:03:50 -07:00
Don't have a proper name for it yet, but I want to make a helper script for jekyll.
It should ask a series of questions and create the file in the correct place
Jekyll helper
2017-06-13 21:35:02 -07:00
Would you like to (a)dd or (e)dit a post?
2017-05-18 10:17:36 -07:00
If edit:
grab all of the posts, put them into an array, print 10 at a time (newest first) with corresponding numbers (1-10)
let the user select a number to edit that post
else:
2017-05-13 19:03:50 -07:00
2017-05-18 10:17:36 -07:00
YYYY-MM-DD-name-of-post.md
2017-05-13 19:03:50 -07:00
2017-05-18 10:17:36 -07:00
date: [todays-date]
title:
filetype: [md]
layout [post]:
categories:
tags:
Possibly have some sort of config file that remembers the post directory and default editors.
What language though?
Ruby? (fits with jekyll I suppose)
python? (I could, but I don't want to deal with python/ruby stupidites)
lua? (sounds good)
clisp? (might be interesting)
2017-05-13 19:03:50 -07:00