Skip to content

dhruv0000/dhruv-archives

Repository files navigation

Dhruv Archives

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.

Getting Started

  1. Clone this repository:

    git clone https://github.com/dhruv0000/dhruv-archives.git
  2. Initialize and update the theme submodule using the Makefile:

    make submodule

    The theme lives in themes/hugo-dhruv-archives as a submodule. Run make submodule-head-to-main after updating to ensure it always follows the theme's main branch.

  3. Install Hugo and Start the Hugo development server:

    hugo server -D
  4. Visit http://localhost:1313 to see the site.

Adding Content

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

Makefile Commands

  • 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).

[Future Theme Plans] Content Folders

  • 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.

License

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.

CC BY 4.0

About

My hugo blog, powered by dhruv0000/hugo-dhruv-archives-theme

Resources

Stars

Watchers

Forks

Packages

No packages published