mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-19 11:05:00 +00:00

# Context: USER: how do i add a scope that sets the description just for the home page? ASSISTANT: To add a scope that sets the description just for the home page, you'll need to modify the `_config.yml` file. You can define a new scope with a specific path pointing to the home page (usually `index.md` or `index.html`). Here's how to add a scope with a custom description for the home page: ```yaml _config.yml <<<<<<< ORIGINAL theme: jekyll-theme-cayman defaults: - scope: path: "examples" type: "pages" values: description: "This is a custom description for the examples section." ======= theme: jekyll-theme-cayman defaults: - scope: path: "examples" type: "pages" values: description: "This is a custom description for the examples section." - scope: path: "index.md" # or "index.html" if your home page is an HTML file type: "pages" values: description: "This is a custom description for the home page." >>>>>>> UPDATED ``` This will apply the custom description to the home page. Make sure to replace `"index.md"` with `"index.html"` if your home page is an HTML file.
13 lines
367 B
YAML
13 lines
367 B
YAML
theme: jekyll-theme-cayman
|
|
|
|
defaults:
|
|
- scope:
|
|
path: "examples"
|
|
type: "pages"
|
|
values:
|
|
description: "This is a custom description for the examples section."
|
|
- scope:
|
|
path: "index.md" # or "index.html" if your home page is an HTML file
|
|
type: "pages"
|
|
values:
|
|
description: "This is a custom description for the home page."
|