<commit_before>---
layout: post
title: Getting Started with Github Pages
---

As you may know, I am using [Github Pages](https://pages.github.com) to host my blog.  I previously wrote about [setting up CloudFlare and hosting for my blog](/setting-up-cloudflare-and-pages-to-host-my-new-blog/).  In this post I will go into some more detail about getting started with Github pages.

Before going too far, I will mention this a technical article and a basic knowledge of git and markdown is required.

If you don't already have a Github account, sign up (it's free for public repositories) for a new account.  Think carefully about the account username, as it will be your subdomain for your blog if you choose not to use a custom domain.

![Signup to Github](../images/github-signup.png)

Next step is to create a new public repository. The name is *very* important, as it will notify Github to use this repository for pages. If my Github account name is "russlescai", the new reopsitory name needs to be "russlescai.github.io". This will be the URL of your site, and Github will add settings for you to configure.<commit_msg>Add desc and image url.<commit_after>---
layout: post
title: Getting Started with Github Pages
description: I am in the process of refreshing my blog, including setting up a custom domain, and setting up HTTPS by default. I've used WordPress for my free blog previously, but want to explore other options, and keep  management as simple as possible.
imgurl: images/blog-banner.jpg
---

As you may know, I am using [Github Pages](https://pages.github.com) to host my blog.  I previously wrote about [setting up CloudFlare and hosting for my blog](/setting-up-cloudflare-and-pages-to-host-my-new-blog/).  In this post I will go into some more detail about getting started with Github pages.

Before going too far, I will mention this a technical article and a basic knowledge of git and markdown is required.

If you don't already have a Github account, sign up (it's free for public repositories) for a new account.  Think carefully about the account username, as it will be your subdomain for your blog if you choose not to use a custom domain.

![Signup to Github](../images/github-signup.png)

Next step is to create a new public repository. The name is *very* important, as it will notify Github to use this repository for pages. If my Github account name is "russlescai", the new reopsitory name needs to be "russlescai.github.io". This will be the URL of your site, and Github will add settings for you to configure.
{'fraction_non_alphanumeric': 0.06402199528672427, 'fraction_numerical': 0.0, 'mean_word_length': 4.104208416833667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2398882', 'n_tokens_mistral': 686, 'n_tokens_neox': 669, 'n_words': 396}