/personal-blog

Project portfolio to showcase the stuff I've made over the years.

Primary LanguageHTMLCreative Commons Zero v1.0 UniversalCC0-1.0

Personal Project Website

Increasing my online presence by showcasing projects and posts that I've worked on over the years.

Dependencies

Note: Install hugo via snap instead of apt to get the latest version.

How To Use

Basic Hugo commands

To compile the website (where output is in docs/ folder):

hugo

or to include drafts,

hugo -D

To start a local server for live website testing (at localhost:1313):

hugo -D serve

Adding Content

To create a new blog post:

hugo new posts/[YEAR]/[MONTH]/[TITLE].md

Note: Upload images, files, etc. in the static/ directory.

Publishing

The docs/ folder in this repo is published on GitHub Pages. Use the deploy.sh script to build and publish the website.

# Uses autogenerated commit message
./deploy.sh

# Optional: Add a descriptive message to the commit to be published
./deploy.sh "My commit message"

Notes

Namecheap Setup for Custom Domain

These settings are managed under the Advanced DNS tab. See GitHub Help for details.

Type Host Value TTL
A Record @ 185.199.108.153 Automatic
A Record @ 185.199.109.153 Automatic
A Record @ 185.199.110.153 Automatic
A Record @ 185.199.111.153 Automatic
CNAME Record www justinmklam.github.io. Automatic
TXT Record @ google-site-verification=[KEY] Automatic