Skip to content

Commit

Permalink
Publish static-site blog
Browse files Browse the repository at this point in the history
  • Loading branch information
prrao87 committed Nov 30, 2023
1 parent 522b8f6 commit f37ff9f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions content/posts/static-site-zola/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title = "Why I chose Zola to build this site"
description = "My thoughts on blogging, static sites and how to deploy a Zola site via GitHub Pages"
date = 2023-11-29
draft = true
draft = false

[taxonomies]
tags = ["general"]
Expand Down Expand Up @@ -242,9 +242,7 @@ In my case, I navigated to the advanced DNS settings for my domain on Namecheap,

{{ figure(src="cname.png") }}

Note the `CNAME Record` that points to my GitHub Pages site on the last line. This allows me to access my site on `https://thedataquarry.com`.

On the Zola side, I simply create a file called `CNAME` in the `static` folder, and add the following line to it:
I created the list of A records to point my apex domain to the IP addresses for GitHub Page, as per the GitHub page docs. Note the `CNAME Record` on the last line (this is important). On the Zola side, I simply create a file called `CNAME` in the `static` folder, and add the following line to it:

```sh
thedataquarry.com
Expand Down

0 comments on commit f37ff9f

Please sign in to comment.