More Premium Hugo Themes Premium Jekyll Themes

Fedemo.github.io

Fe Blog →

Fedemo.github.io

Fe Blog →

Author Avatar Theme by fedemo
Github Stars Github Stars: 25
Last Commit Last Commit: Sep 11, 2022 -
First Commit Created: Jun 19, 2023 -
Fedemo.github.io screenshot

Overview:

This article is a tutorial guide on how to build a blog from scratch using the GitHub Pages and Jekyll frameworks. The author shares their personal experience of setting up their own blog and provides step-by-step instructions and code snippets to guide the reader through the installation process. The tutorial also introduces the concept of GitHub and Git for version control. The author recommends using templates from jekyllthemes.org to make the process easier and highlights the importance of configuring the _config.yml file for customization. The tutorial concludes by mentioning the option to purchase a domain name for the blog.

Features:

  • Blog template based on Hux’s Clean Blog
  • Added search functionality and Gitalk commenting plugin
  • Archives articles by date
  • Uses GitHub Pages and Jekyll frameworks
  • Allows for static site hosting
  • Supports Markdown format for writing articles
  • Integrates Baidu Analytics and Google Analytics for tracking
  • Provides a guide on purchasing a domain name

Installation:

  1. Create a GitHub account if you don’t have one already.
  2. Create a new repository with the name “username.github.io”, replacing “username” with your actual GitHub username.
  3. In the repository settings, under “GitHub Pages”, choose the “master branch” as the source.
  4. Create a new file named “index.html” in the repository and write the necessary HTML code for your homepage.
  5. Commit the file to finalize the setup of your GitHub Pages.
  6. Customize the _config.yml file in the repository to suit your needs, following the provided instructions.
  7. If desired, integrate Gitalk commenting plugin by obtaining a clientID and clientSecret from GitHub and updating the configuration in the _config.yml file.
  8. If desired, integrate Baidu Analytics or Google Analytics by registering on their respective websites and replacing the provided tracking IDs in the _config.yml file.
  9. Start writing blog articles by creating new Markdown files in the _posts directory of the repository. Follow the specified naming convention for each file.

Summary:

This tutorial provides a comprehensive guide on how to create a blog from scratch using the GitHub Pages and Jekyll frameworks. It covers the step-by-step installation process, including creating a GitHub account, setting up the GitHub repository, configuring the necessary files, and writing blog articles. The tutorial also introduces the concept of version control with Git and suggests using templates from jekyllthemes.org for easier customization. Additionally, it briefly touches on the option to purchase a domain name for the blog.