This is the GitHub repository for my personal website , which is built using Hugo static site generator and hosted on Cloudflare Pages.
To get started with this project, follow these steps:
-
Clone the repository to your local machine:
-
Install Hugo static site generator by following the instructions on the official website.
-
Create a new site using Hugo:
-
Add a theme to your site. You can choose from many free and paid themes available on the Hugo Themes website.
-
Customize the theme to your liking by editing the configuration file (
config.toml
orconfig.yaml
). -
Create content for your site by adding Markdown files to the
content
directory. -
Preview your site locally by running the following command:
hugo server -D
-
This will start a local server that you can view in your web browser at
http://localhost:1313/
.
To deploy your site to Cloudflare Pages, follow these steps:
-
Create a new site on Cloudflare Pages by linking your GitHub repository.
-
Choose the branch you want to deploy (usually
main
ormaster
). -
Set the build command to
hugo --minify
. -
Set the publish directory to
public
. -
Click on the "Save and Deploy" button.
-
Wait for Cloudflare Pages to build and deploy your site. This can take a few minutes.
-
Once your site is deployed, you can access it at the URL provided by Cloudflare Pages.
If you find a bug or have a feature request, please open an issue on the GitHub repository. Pull requests are also welcome!
This project is licensed under the MIT License - see the LICENSE file for details.