Commit graph

21 commits

Author SHA1 Message Date
Paul Gauthier
39dbd7ba49 Added sitemap 2024-02-16 09:23:27 -08:00
Paul Gauthier
aaeb055cc9 Disabled sitemap 2024-02-16 08:47:03 -08:00
Paul Gauthier
a3774c48e0 Added sitemap 2024-02-16 08:43:58 -08:00
Paul Gauthier
a6f8d7ec6f aider: Add the redirect plugin to the _config.yml.
# Aider chat conversation:

USER: add the redirect plugin

ASSISTANT: To add the Jekyll Redirect From plugin to your `_config.yml`, you need to add the plugin to the `plugins` list. Here's the diff for the change:

```diff
--- _config.yml
+++ _config.yml
@@ ... @@
 theme: jekyll-theme-cayman
 url: "https://aider.chat"
+plugins:
+  - jekyll-redirect-from
+
 defaults:
   - scope:
       path: "README.md"
       type: "pages"
     values:
       description: "A command-line chat tool for coding with GPT"
```
2024-02-11 06:34:01 -08:00
Paul Gauthier
598d81d77c aider: Set the full URL to "https://aider.chat" in _config.yml.
# Aider chat conversation:

USER: what is the site.baseurl ?

ASSISTANT: In Jekyll, `site.baseurl` is a variable that stores the subpath of your site. For example, if your site is at `http://example.com/my_site`, then `site.baseurl` would be `/my_site`. It's often used in templates to prepend to URLs to ensure they work correctly regardless of the site's subpath.

However, I don't see `site.baseurl` defined in your `_config.yml` file. If you're not hosting your site in a subdirectory, you may not need it. If you are, you should add it to your `_config.yml` file like this:

```yml
baseurl: "/my_site" # replace "my_site" with your actual subpath
```

Please let me know if you want to add this to your `_config.yml` file.

USER: https://aider.chat

ASSISTANT: If you want to set the `baseurl` to "https://aider.chat", you should know that `baseurl` is typically used for subpaths, not the full URL. The full URL is usually set in the `url` field.

Here's how you can add it:

```yaml
_config.yml
<<<<<<< ORIGINAL
theme: jekyll-theme-cayman

defaults:
  - scope:
      path: "README.md"
      type: "pages"
    values:
      description: "A command-line chat tool for coding with GPT"
=======
theme: jekyll-theme-cayman
url: "https://aider.chat"

defaults:
  - scope:
      path: "README.md"
      type: "pages"
    values:

^C KeyboardInterrupt

USER: ok, set the full url

ASSISTANT: Alright, here's how you can add the full URL to your `_config.yml` file:

```yaml
_config.yml
<<<<<<< ORIGINAL
theme: jekyll-theme-cayman

defaults:
  - scope:
      path: "README.md"
      type: "pages"
    values:
      description: "A command-line chat tool for coding with GPT"
=======
theme: jekyll-theme-cayman
url: "https://aider.chat"

defaults:
  - scope:
      path: "README.md"
      type: "pages"
    values:
      description: "A command-line chat tool for coding with GPT"
>>>>>>> UPDATED
```

This will set the `url` variable to "https://aider.chat". You can use `{{ site.url }}` in your templates to refer to this URL.
2023-07-13 14:05:38 -07:00
Paul Gauthier
fc527ef2cf Updated jekyll taglines 2023-06-08 16:36:51 -07:00
Paul Gauthier
5429ed9e62 copy 2023-05-16 06:51:40 -07:00
Paul Gauthier
7074db7ea4 better title/desc for homepage 2023-05-16 06:48:20 -07:00
Paul Gauthier
ba3172ba6c revert to old title/desc 2023-05-16 05:49:20 -07:00
Paul Gauthier
defa8717e4 wip: Updated project description and fixed config file paths and descriptions. 2023-05-16 05:44:52 -07:00
Paul Gauthier
9471024dd0 Updated descriptions for home and examples sections in _config.yml. 2023-05-16 05:40:39 -07:00
Paul Gauthier
cd93146ed3 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.
2023-05-16 05:39:59 -07:00
Paul Gauthier
d0a51a85d0 aider: Added a scope with a custom description for the examples section in _config.yml.
# Context:
USER: can i use scope to apply a different description to different parts of the site?
ASSISTANT: Yes, you can use the `scope` feature in Jekyll to apply different descriptions to different parts of the site. You'll need to modify the `_config.yml` file to define the scopes and their respective descriptions.

Here's a step-by-step guide to achieve this:

1. In the `_config.yml` file, add a new `defaults` section.
2. Define the scope by specifying the `path` and `type` attributes.
3. Set the `values` attribute to include the `description` key with the desired description text.

Here's an example of how to add a scope with a custom description for the `examples` directory:

```yaml
_config.yml
<<<<<<< ORIGINAL
theme: jekyll-theme-cayman
=======
theme: jekyll-theme-cayman

defaults:
  - scope:
      path: "examples"
      type: "pages"
    values:
      description: "This is a custom description for the examples section."
>>>>>>> UPDATED
```

This will apply the custom description to all pages within the `examples` directory. You can add more scopes for other directories or specific pages by following the same pattern.
2023-05-16 05:38:40 -07:00
Paul Gauthier
74d090876a cleanup 2023-05-16 05:36:56 -07:00
Paul Gauthier
344018598a wip: Changed title in _config.yml to use variables. 2023-05-16 05:29:07 -07:00
Paul Gauthier
892119c7df added title: to _config 2023-05-16 05:20:46 -07:00
paul-gauthier
c2fd7c4438
Update _config.yml 2023-05-14 19:52:33 -07:00
paul-gauthier
9da6e39b54
Update _config.yml 2023-05-14 19:14:52 -07:00
paul-gauthier
be35cace6d
Update _config.yml 2023-05-14 19:13:00 -07:00
Paul Gauthier
9969641a69 copy 2023-05-14 16:45:57 -07:00
Paul Gauthier
2081711660 initial 2023-05-14 16:39:56 -07:00