Davidasx / blog-comments-davidx

Apache License 2.0
0 stars 0 forks source link

How to Make Your Own Blog #5

Open Davidasx opened 1 month ago

Davidasx commented 1 month ago

https://davidx.us.kg/how-to-make-your-own-blog/

0.Introduction

After my own try at making this blog, I find it quite easy to make one. You only need a GitHub account!

1.Preparing the Files

I've prepared an empty blog sample here. It's based on Jekyll Now and I added some small improvements.

The sample itself, if deployed without modification, looks like this. With a bit of configuration, you can make a blog of your own.

First, fork that repository and remember to name it as YOUR_GITHUB_HANDLE.github.io. That way, you will have the framework of the blog in your own hands.

Next, upload avatar.png and favicon.ico to the image folder. These are your avatar and the icon of the website respectively.

Finally, place your information into the _config.yml and you're all set!

Now, push to GitHub and wait for a minute. If everything goes well you'll see an empty blog of your own.

2.Hit counter

The hit counter counts the number of visits to your site. Here is a free hit counter.You can choose a style and the number of digits. Then you'll get a HTML code snippet like this:

<a href=