mehdibaha.com
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
inconfig.toml
)- Link for the Disqus admin panel: https://mehdibaha.disqus.com/admin/
- Google Analytics is used for web usage statistics (
googleAnalytics
tracking id inconfig.toml
)- Link for the Analytics admin panel: https://analytics.google.com (account: elmehdi.baha@gmail.com)
- The projects list is a list of my current Github repositories. To achieve syncing between the two:
- I added
python sync_projects.py
to thecommand
tag innetlify.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.
- I added