I hope this get me to post more here. The code is simple and you could easlily modify it for your jekyll site as well. You can use a https://caiorss.github.io/bookmarklet-maker/.
var isoDate = (new Date()).toISOString();
var date = isoDate.split('T')[0];
var d = date.split('-');
var dataPermaLink = d.join('/');
var t = prompt("title", "");
var title = t.replaceAll(/([&$\+,:;'"=\?@#\s<>\[\]\{\}[\/]|\\\^%])+/g, '-');
var filename = date + "-" + title + '.md';
var html = [
'---',
'date: '+ isoDate,
'author: Stefan Hayden',
'title: ' + t,
'layout: post',
'permalink: /blog/'+ dataPermaLink +'/'+ title +'/',
'categories:',
' - web',
'---',
].join('%0A');
window.location.href = "https://github.com/stefanhayden/stefanhayden.github.io/new/master/" + "?filename=_posts/" + filename + "&value=" + html;