Creating a professional online presence is a must in today's digital age, and what better way to do that than by building your own personalized portfolio website? One of the most popular and easy-to-use platforms for creating a portfolio is GitHub, and its robust Jekyll engine makes it a breeze to create stunning, static websites. GitHub's built-in support for Jekyll allows you to create a responsive and visually appealing portfolio website using Markdown, HTML, and CSS.

In this comprehensive tutorial, we'll guide you through the process of creating a portfolio website on GitHub Pages using Jekyll, from setting up your repository to customizing your site's design and adding your projects. By the end of this guide, you'll have a beautiful and functional portfolio to showcase your skills and impress potential employers or clients.

Getting Started with GitHub.io Portfolio
Before we dive into the details, let's make sure you have the necessary tools and accounts set up.

First, if you don't already have one, create a GitHub account. Then, install Git and Node.js on your local machine. These tools will help you manage your portfolio's version control and run local development servers, respectively.
Setting Up Your GitHub Pages Repository

Start by creating a new repository on GitHub called yourusername.github.io, where yourusername is your GitHub username. This repository will host your portfolio website. You can rename any existing repositories to follow this naming convention to enable GitHub Pages for them.
To enable GitHub Pages, go to your repository's settings page, scroll down to the "GitHub Pages" section, and select the branch you want to use (usually main or master). Click "Save" to create your GitHub Pages site.
Initializing Your Portfolio with Jekyll

Next, initialize your portfolio as a Jekyll site. In your terminal, run:
jekyll new .
This command will create a new Jekyll site in the current directory. Run
bundle install
to install the required dependencies. Now, start a local development server by running:

bundle exec jekyll serve
Navigate to http://localhost:4000 in your web browser, and you should see your new Jekyll site.
Customizing Your Portfolio's Design




















Jekyll comes with a default minimal theme, but you can easily change the design by using an existing theme or creating your own. To use a Jekyll theme, copy the theme's repository into your project's _layouts, _includes, and assets directories, and specify the theme name in the _config.yml file.
Customize your portfolio's design by modifying the HTML, SCSS, and liquid templates in the(layouts, includes, and assets directories. Update the navigation menu, sidebar, footer, and other layout elements to match your desired design. You can also customize the site's appearance by changing colors, fonts, and other styles in the SCSS files.
Adding Your Projects and Work
To showcase your projects and work, create a new directory named "projects" in the root of your portfolio repository. Inside this directory, create Markdown files for each project, using the following front-matter to define the project's details:
{% raw %}{% assign date = now | date: "%Y-%m-%d" %}{% endraw %}
---
layout: project
title: Project Title
categories: [project category]
image: /path/to/project/image
description: A brief project description.
---
Write a detailed description of the project using Markdown syntax. You can also include images, links, and other relevant information. To organize your projects, you can create subcategories within the "projects" directory.
Don't forget to add your resume and contact information to your portfolio. You can create a new page for this content or integrate it into your site's existing layout.
Publishing Your Portfolio
Once you're satisfied with your portfolio, push your changes to GitHub:
git add . git commit -m "Update portfolio" git push origin main
After pushing your changes, GitHub will automatically update your live portfolio at yourusername.github.io. You can verify that your changes are live by visiting your portfolio's URL in a web browser.
Congratulations! You now have a beautiful, functional portfolio website showcasing your work. As you continue to build your career, update your portfolio with new projects and experiences. Keep learning and exploring new technologies to make your portfolio even more impressive. Happy coding!