Skip to content

Commit

Permalink
chore: document search and js for toc
Browse files Browse the repository at this point in the history
  • Loading branch information
not-matthias committed Jan 10, 2025
1 parent e4c61fe commit 577d9b0
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions content/posts/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,18 @@ Enables or disables the search functionality for your blog.
When enabled, a search index will be generated for your blog, allowing visitors to search for specific content.
Additionally, a search button will be displayed in the navigation bar.

Configure the search like this:
```toml
build_search_index = true

[search]
include_title = true
include_description = true
include_path = true
include_content = true
index_format = "elasticlunr_json"
```

## Theme Mode (`theme`)

Sets the color theme for your blog.
Expand Down Expand Up @@ -84,6 +96,8 @@ Enables or disables the table of contents for posts.

When enabled, a table of contents will be generated for posts, making it easier for readers to navigate through longer articles.

Note: This feature adds additional JavaScript to your site.

## CDN Usage (`use_cdn`)

Determines whether to use a Content Delivery Network (CDN) for assets.
Expand Down

0 comments on commit 577d9b0

Please sign in to comment.