Please help me...new to GitHUb #54448
-
Select Topic AreaQuestion BodyHello all! I am new to GitHub. (I joined a few days ago.) I have managed to learn how to read the theme documentation as well as the general static website creation documentation from GitHUb and create a blog. However, I always run into an issue: either the blog content (articles) don't show up, or the theme doesn't show up but the articles do. I keep seeing something about "Ruby Gems", but I don't have or want that on my computer. I simply want to follow the directions, put the correct html and md codes and files into my repository and publish my blog. Is there no theme that allows that? Does everything require Ruby or something else to be downloaded? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 8 replies
-
GitHub Pages uses Jekyll, a static site generator that requires Ruby and some additional Ruby Gems to be installed on your computer. However, you don't necessarily need to install Ruby and the Gems locally to use GitHub Pages. You can choose to use a Jekyll theme that's already set up to work with GitHub Pages without needing to install anything. There are many Jekyll themes available on GitHub that you can use to quickly create a blog or website. To use a Jekyll theme on GitHub Pages without installing anything, you can follow these steps: Fork the repository of the Jekyll theme you want to use. You can find many Jekyll themes by searching for "jekyll-theme" on GitHub. Rename the forked repository to Customize the Add your content as Markdown files in the Push the changes to your forked repository. Your blog should now be live at If you want to further customize your Jekyll theme, you can use GitHub's built-in online code editor to make changes to your files and preview them in your browser. I hope this helps you get started with using Jekyll themes on GitHub Pages! |
Beta Was this translation helpful? Give feedback.
-
Your Jekyll build is failing, see the error message in the last build: https://github.com/MMagicoder/mmagicoder.github.io/actions/runs/4888130486/jobs/8725506149#step:4:20 Looking at the file mentioned there, the YAML front matter looks like this: ---
layout: post
title: "How and Why Organizations should Create Email Accounts for Volunteers"
date: YYYY-MM-DD
--- Indeed "YYYY-MM-DD" is not a valid date (it's a date format). You need to list the correct date for your post there (e.g. 2023-05-05). |
Beta Was this translation helpful? Give feedback.
-
Oh, I think I misunderstood. |
Beta Was this translation helpful? Give feedback.
-
Okay everybody. I'm back again. So, I tried to change my config file so that I can get little pictures on top of my posts, but nothing happens. My commit stays stuck. I tried to change the post.html layout from "archive" to single. |
Beta Was this translation helpful? Give feedback.
Where did you try that? I see a recent commit that renamed the file, but you need to edit the date information within the file, exactly here. That's what the error message I linked is about.