How this blog was created
-
Fork github repo adeshpande3/adeshpande3.github.io and rename it as
username.github.iowhereusernameis your github username -
In this repo, edit file
_config.ymland update name, description (this is what appears below your name on your blog), avatar, footer-links, url. You can edit this file from github itself -
Create a
_postsdirectory at the top level of this repo (if one does not exist). You can do this bycreate new filefrom the github repo page with the name “/_posts” -
As the title indicates, this directory will contain your blog posts as separate files. Files should be named using the convention
YYYY-MM-DD-title.mdwhere spaces in the title name are replace by hyphens (e.g.2017-12-17-my-first-blog-post.md) -
The blog post is written in markdown syntax. I use prose.io as an online markdown editor. After you have composed and previewed your post, take a look at the metadata using the icon on the right. Here you can provide the
excerptfor your blog post as well as direct link to it in thepermalink(e.g. “/my-first-blog-post”) -
Once you save your changes in prose.io, it will take a couple of minutes for your posts to show up on
username.github.io -
In order to allow comments on your blog, you will have to create a disqus account. Within disqus, select “I want to install Disqus on my site”. The website name you provide here is your disqus shortname. After going through this, go back to your github.io repo and update the
disqus_shortnamevariable in the file_includes/disqus.html