mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 08:44:59 +00:00
aider: Added a scope to set a custom description for the home page in _config.yml
.
# 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.
This commit is contained in:
parent
d0a51a85d0
commit
cd93146ed3
1 changed files with 5 additions and 0 deletions
|
@ -6,3 +6,8 @@ defaults:
|
|||
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."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue