Skip to content
Discussion options

You must be logged in to vote

The config.yml file is a configuration file for GitHub Pages sites. It is used to specify the name of the site, the theme, and other settings. The file is located in the root directory of your GitHub Pages repository.

If you are using the default GitHub Pages setup, the config.yml file will be created for you automatically. However, if you have created your own GitHub Pages site, you may need to create the file manually.

To create the config.yml file, open a text editor and create a new file called config.yml. Then, add the following content to the file:

name: My Site
theme: minima
This will create a simple GitHub Pages site with the minima theme.

Once you have created the config.yml file…

Replies: 5 comments 17 replies

Comment options

You must be logged in to vote
17 replies
@JamesNewton
Comment options

@opticaldrive
Comment options

@SoninLeandro
Comment options

@opticaldrive
Comment options

@opticaldrive
Comment options

Answer selected by opticaldrive

This comment was marked as off-topic.

This comment was marked as off-topic.

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pages Host a static website, right from your repo Question Ask and answer questions about GitHub features and usage
8 participants