Joanna
Joanna

Reputation: 11

I am trying to setup my first GitHub page with a Jekyll template

I am very new to GitHub, and I am trying to set up my first portfolio page.

I wanted a nice and simple template, so I found the chirpy-starter theme by cotes2020 and forked it. However, I am having trouble adjusting the _config.yml file. I do not know what I am doing wrong; plus the error messages do not mean a lot to me either.

What I did step by step:

  1. Created a new repository and called it 'analysis'

  2. Forked the chirpy-starter theme by cotes2020

  3. Went to edit the _config.yml file and edited the url and baseurl:

    url: 'https://joannagladysz.github.io'
    
    baseurl: '/analysis'
    
  4. Saved and committed the changes

  5. In the actions section it shows that failure and the following error:

    error message

    ✖ subject may not be empty [subject-empty]
    ✖ type may not be empty [type-empty]

Note that I am not using GitHub Desktop, just the web version.

My rep

Upvotes: 0

Views: 38

Answers (1)

Benjamin W.
Benjamin W.

Reputation: 52451

The error comes from an automation in GitHub Actions (here) that checks Git commits for specific formatting.

You could delete that workflow file, but read on for what is, in my opinion, a better approach.

Cloning the theme repository itself is an option, but the recommended approach is to use the starter template. The result is going to be a lot less code in your own repo, because all the theme-specific files are hidden away, and you won't "inherit" all the automation the author set up for work on theme itself.

Upvotes: 0

Related Questions