Post

I Created a Tech Blog

I Created a Tech Blog

Welcome to my new blog!

If you can see this, then that means I did not mess up any of the yml files.

Why did I make a tech blog?

Recently I’ve been wanting a way to document my projects, experiences, and concepts I learn. I wanted a way to reinforce my learning and improve my technical writing. So, I thought, why not make a blog?

This blog is only intended to be a personal project that I update whenever I feel like it.

How did I make this blog?

It was very simple actually. This website uses a template called Chirpy, which is a blogging focused theme for Jekyll. Jekyll is a static site generator that works with GitHub Pages. It allows me to quicky create professional looking blog posts by converting plain text files into clean HTML pages.

To create the site I simply cloned the Chirpy template repository to my local device. A few assets were missing so I had to pull then from another repository. After that I edited a few settings files to personalize the site, and that was it.

Why use Chirpy?

On top of free and easy deployment Chirpy also has a clean design that I like the look of. It has many cool features that improve post quality.

Like this tip prompt

Or these code blocks

1
2
3
4
5
6
7
8
9
for i in range(1, 101):
if i % 3 == 0 and i % 5 == 0:
    print("FizzBuzz")
elif i % 3 == 0:
    print("Fizz")
elif i % 5 == 0:
    print("Buzz")
else:
    print(i)

You can even change the highlights depending on the language.

1
2
3
4
5
6
7
8
9
10
11
for (let i = 1; i <= 100; i++) {
  if (i % 3 === 0 && i % 5 === 0) {
    console.log("FizzBuzz");
  } else if (i % 3 === 0) {
    console.log("Fizz");
  } else if (i % 5 === 0) {
    console.log("Buzz");
  } else {
    console.log(i);
  }
}

Check out this Chirpy post to see all customizations.

This post is licensed under CC BY 4.0 by the author.