Skip to content

Commit

Permalink
Fix: Use backticks to format file name in adding-a-theme-to-your-gith…
Browse files Browse the repository at this point in the history
…ub-pages-site-using-jekyll#adding-a-theme #35821 (#35851)

Co-authored-by: Alex Nguyen <[email protected]>
  • Loading branch information
thedarkking01 and nguyenalex836 authored Jan 7, 2025
1 parent 861a31c commit 6014cb8
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ People with write permissions for a repository can add a theme to a {% data vari

{% data reusables.pages.navigate-site-repo %}
{% data reusables.pages.navigate-publishing-source %}
1. Navigate to __config.yml_.
1. Navigate to `_config.yml`.
{% data reusables.repositories.edit-file %}
1. Add a new line to the file for the theme name.
* To use a supported theme, type `theme: THEME-NAME`, replacing THEME-NAME with the name of the theme as shown in the `_config.yml` of the theme's repository (most themes follow a `jekyll-theme-NAME` naming convention). For a list of supported themes, see [Supported themes](https://pages.github.com/themes/) on the {% data variables.product.prodname_pages %} site. For example, to select the Minimal theme, type `theme: jekyll-theme-minimal`.
Expand Down Expand Up @@ -61,12 +61,12 @@ People with write permissions for a repository can add a theme to a {% data vari

{% data reusables.pages.theme-customization-help %}

1. On {% data variables.product.prodname_dotcom %}, navigate to your theme's source repository. For example, the source repository for Minimal is https://github.com/pages-themes/minimal.
1. In the __layouts_ folder, navigate to your theme's _default.html_ file.
1. On {% data variables.product.prodname_dotcom %}, navigate to your theme's source repository. For example, the source repository for Minimal is `https://github.com/pages-themes/minimal`.
1. In the `_layouts` folder, navigate to your theme's `_default.html` file.
1. Copy the contents of the file.
{% data reusables.pages.navigate-site-repo %}
{% data reusables.pages.navigate-publishing-source %}
1. Create a file called __layouts/default.html_.
1. Create a file called `_layouts/default.html`.
1. Paste the default layout content you copied earlier.
1. Customize the layout as you'd like.

Expand Down

0 comments on commit 6014cb8

Please sign in to comment.