@@ -29,7 +29,7 @@ People with write permissions for a repository can add a theme to a {% data vari
|
|||||||
1. Navigate to __config.yml_.
|
1. Navigate to __config.yml_.
|
||||||
{% data reusables.repositories.edit-file %}
|
{% data reusables.repositories.edit-file %}
|
||||||
1. Add a new line to the file for the theme name.
|
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 README of the theme's repository. 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 Minima theme, type `theme: minima`.
|
- To use a supported theme, type `theme: jekyll-theme-THEME-NAME`, replacing _THEME-NAME_ with the name of the theme as shown in the README of the theme's repository. 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`.
|
||||||
- To use any other Jekyll theme hosted on {% data variables.product.prodname_dotcom %}, type `remote_theme: THEME-NAME`, replacing THEME-NAME with the name of the theme as shown in the README of the theme's repository.
|
- To use any other Jekyll theme hosted on {% data variables.product.prodname_dotcom %}, type `remote_theme: THEME-NAME`, replacing THEME-NAME with the name of the theme as shown in the README of the theme's repository.
|
||||||
{% data reusables.files.write_commit_message %}
|
{% data reusables.files.write_commit_message %}
|
||||||
{% data reusables.files.choose-commit-email %}
|
{% data reusables.files.choose-commit-email %}
|
||||||
@@ -62,7 +62,7 @@ People with write permissions for a repository can add a theme to a {% data vari
|
|||||||
|
|
||||||
{% data reusables.pages.theme-customization-help %}
|
{% 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 Minima is https://github.com/jekyll/minima.
|
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. In the __layouts_ folder, navigate to your theme's _default.html_ file.
|
||||||
1. Copy the contents of the file.
|
1. Copy the contents of the file.
|
||||||
{% data reusables.pages.navigate-site-repo %}
|
{% data reusables.pages.navigate-site-repo %}
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
Your theme's source repository may offer some help in customizing your theme. For example, see [Minima's README](https://github.com/jekyll/minima#customizing-templates).
|
Your theme's source repository may offer some help in customizing your theme. For example, see [Minimal's README](https://github.com/pages-themes/minimal#customizing).
|
||||||
|
|||||||
Reference in New Issue
Block a user