mehdibaha / personal-website

Repository for my personal website

Home Page:https://mehdibaha.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mehdibaha.com

Netlify Status

This is the repository for my personal website.

Quick start

This website is built with Hugo and Sustain theme.

Developing

To begin developement, you need to clone this repository by running the following command:

git clone --recurse-submodules https://github.com/mehdibaha/personal-website

After making your changes, you can preview the website on http://localhost:8082/ by running:

./hugo serve -D -p 8082

You can specify base url if running in a remote environment:

./hugo serve -D -p 8082 -b https://7f20805aa5ba4823ad570b35781f9317.vfs.cloud9.eu-west-1.amazonaws.com

It will automatically open http://localhost:1313/ on your browser

Publishing

To deploy, simply push to master and Netlify will handle the rest (more details in netlify.toml).

Features

  • Disqus is used in this website to allow comments in blog articles (disqusShortname in config.toml)
  • Google Analytics is used for web usage statistics (googleAnalytics tracking id in config.toml)
  • The projects list is a list of my current Github repositories. To achieve syncing between the two:
    • I added python sync_projects.py to the command tag in netlify.toml so that each build updates the list of repositories displayed on my website.
    • Additionally, I added a Netlify build webhook which gets called by a free cron service each Monday.

About

Repository for my personal website

https://mehdibaha.com

License:MIT License


Languages

Language:HTML 51.7%Language:CSS 26.0%Language:Python 11.4%Language:JavaScript 11.0%