My personal website built with Hugo, using the custom hugo-dhruv-archives theme.
Hosted for free on using Cloudflare pages. Paid Domain Name by them too: cloudfare Registry. [No setup guide for this, use Dashboard Screenshots + chatGPT if you are new to it :)]
Checkout the App Script to push and google doc to a github repo. I use it to update my resume here.
-
Clone this repository:
git clone https://github.com/dhruv0000/dhruv-archives.git
-
Initialize and update the theme submodule using the Makefile:
make submodule
The theme lives in
themes/hugo-dhruv-archives
as a submodule. Runmake submodule-head-to-main
after updating to ensure it always follows the theme'smain
branch. -
Install Hugo and Start the Hugo development server:
hugo server -D
-
Visit
http://localhost:1313
to see the site.
You can create new content using the Makefile commands:
make new-blog name=my-post
make new-primer name=my-note
make new-diary name=my-entry
make new-me name=about-me
- build: build the site with minification.
- serve: run a development server.
- clean: remove generated files.
- remote: fetch updates for repo and submodules.
- submodule-head-to-main: ensure the theme submodule points to its main branch.
- publish: merge main into the publish branch.
- new-blog: create a blog post (
make new-blog name=my-post
). - new-primer: create a primer note (
make new-primer name=my-note
). - new-diary: create a diary entry (
make new-diary name=my-entry
). - new-me: create a page under
content/me
(make new-me name=about-me
).
- blog: draft or public facing posts.
- primer: notes on tech stacks available via direct link only.
- diary: private posts for my eyes or selected users later.
- me: personal pages and experiments.
The content of this project itself is licensed under the Creative Commons Attribution 4.0 International License, and the underlying source code used to format and display that content is licensed under the MIT license.