I would like to add
Edit on github button for my posts. When user clicks on the button, it should take user to the respective page on github in the edit mode.
As posts in the _posts folder starts with YYYY-MM-DD format, is there any way I could read the date (or entire file name) from the file name so that I can integrate that into my post?
Thanks in the advance.