feat(llms): add option to exclude pages and sections from llms.txt (#918)
* feat: improve section filtering in llms.txt * fix(llms): correct where syntax and add page exclusion filter - Fix invalid Hugo template syntax in where clause - Use boolean comparison instead of string for llms param - Add filtering to recursive llms-section-tree template - Document llms exclusion feature in all languages (en, ja, fa, zh-cn) --------- Co-authored-by: Xin <xin@imfing.com>
This commit is contained in:
@@ -505,6 +505,15 @@ outputs:
|
||||
- خلاصه صفحات و تاریخ انتشار
|
||||
- لینکهای مستقیم به تمام محتوا
|
||||
|
||||
میتوانید صفحات یا بخشهای خاصی را با تنظیم `llms: false` در frontmatter آنها حذف کنید:
|
||||
|
||||
```yaml
|
||||
---
|
||||
title: "یادداشتهای داخلی"
|
||||
llms: false
|
||||
---
|
||||
```
|
||||
|
||||
فایل llms.txt به طور خودکار از ساختار محتوای شما ایجاد میشود و سایت شما را برای ابزارهای هوش مصنوعی و مدلهای زبانی برای زمینه و مرجع قابل دسترستر میکند.
|
||||
|
||||
### Open Graph
|
||||
|
||||
Reference in New Issue
Block a user