Skip to content

Commit fc85d26

Browse files
committed
Fix: Use backticks to format file name in adding-a-theme-to-your-github-pages-site-using-jekyll#adding-a-theme #35821
1 parent 2616bea commit fc85d26

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

content/pages/setting-up-a-github-pages-site-with-jekyll/adding-a-theme-to-your-github-pages-site-using-jekyll.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ People with write permissions for a repository can add a theme to a {% data vari
2525

2626
{% data reusables.pages.navigate-site-repo %}
2727
{% data reusables.pages.navigate-publishing-source %}
28-
1. Navigate to __config.yml_.
28+
1. Navigate to `_config.yml`.
2929
{% data reusables.repositories.edit-file %}
3030
1. Add a new line to the file for the theme name.
3131
* 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`.
@@ -62,11 +62,11 @@ People with write permissions for a repository can add a theme to a {% data vari
6262
{% data reusables.pages.theme-customization-help %}
6363

6464
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.
65-
1. In the __layouts_ folder, navigate to your theme's _default.html_ file.
65+
1. In the `_layouts` folder, navigate to your theme's `_default.html` file.
6666
1. Copy the contents of the file.
6767
{% data reusables.pages.navigate-site-repo %}
6868
{% data reusables.pages.navigate-publishing-source %}
69-
1. Create a file called __layouts/default.html_.
69+
1. Create a file called `_layouts/default.html`.
7070
1. Paste the default layout content you copied earlier.
7171
1. Customize the layout as you'd like.
7272

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"openapi-docs": "tsx src/rest/docs.js",
6767
"playwright-test": "playwright test --config src/fixtures/playwright.config.ts --project=\"Google Chrome\"",
6868
"post-lints": "tsx src/content-linter/scripts/post-lints.js",
69-
"postinstall": "cp package-lock.json .installed.package-lock.json && echo \"Updated .installed.package-lock.json\" # see husky/post-checkout and husky/post-merge",
69+
"postinstall": "copy package-lock.json .installed.package-lock.json && echo \"Updated .installed.package-lock.json\" # see husky/post-checkout and husky/post-merge",
7070
"precompute-pageinfo": "tsx src/pageinfo/scripts/precompute-pageinfo.ts",
7171
"prepare": "husky src/workflows/husky",
7272
"prettier": "prettier -w \"**/*.{ts,tsx,js,mjs,scss,yml,yaml}\"",

0 commit comments

Comments
 (0)