Skip to content

aktech/aktech.github.io

Repository files navigation

Personal Blog and webpage on Github Pages

Webpage: https://iamit.in Blog: https://iamit.in/blog

Locally running the blog

  • Make sure you have jekyll and bundle installed, then run the following, commands:
bundle install
bundle exec jekyll serve

Updating tags and timeline

  • Copy the tags and timeline generator into blog/
cp -r blog/tags_timeline_gen/* blog/
  • Now make sure the jekyll serve is running (see the command above), then you'll have the generated tags and timeline in the _site/blog folder, run the following to copy them into blog/ folder
cp -r _site/blog/timeline blog/
cp -r _site/blog/tags blog/

Now commit and push!

Generating Html directory from html files

python scripts/generate_directory_index3.py folder_with_html_files

RSS Feed

Writing a Post

  • Change the baseurl in the _config.url from https://iamit.in/ to / (Don't know of a better solution).
  • If your post includes any media, add it into the assets folder.
  • Create your blog post in the _post directory by copying any previous posts, notice the naming scheme, which corresponds to the publishing date.
  • Run ./deploy.sh and push to github.