Create a site or blog from your GitHub repositories with GitHub Pages.
You turned on GitHub Pages! 🎉
We'll work in a branch, my-pages
, that I created for you to get this site looking great. ❇️
Jekyll uses a file titled _config.yml
to store settings for your site, your theme, and reusable content like your site title and GitHub handle. You can check out the _config.yml
file on the Code tab of your repository.
We need to use a blog-ready theme. For this activity, we will use a theme named "minima".
- Browse to the
_config.yml
file in themy-pages
branch. - In the upper right corner, open the file editor.
- Add a
theme:
set to minima so it shows in the_config.yml
file as below:theme: minima
- (optional) You can modify the other configuration variables such as
title:
,author:
, anddescription:
to further customize your site. - Commit your changes.
- (optional) Create a pull request to view all the changes you'll make throughout this course. Click the Pull Requests tab, click New pull request, set
base: main
andcompare:my-pages
. - Wait about 20 seconds then refresh this page (the one you're following instructions from). GitHub Actions will automatically update to the next step.
Get help: Post in our discussion board • Review the GitHub status page
© 2023 GitHub • Code of Conduct • MIT License