<!-- Generated from ja/llms-txt-jekyll/index.html. The canonical document is the HTML page. -->

- [ ホーム ](/ja/) 
/
- [ llms.txtの作成方法 ](/ja/how-to-create/) 
/
- Jekyll            
# Jekyll の `llms.txt`

Jekyll は、フロントマターのないファイルを静的ファイルとして扱います。llms.txt をルートに置けば、そのまま配信されます。

最終更新: 2026年7月26日

このページの内容

- [ ファイルの保存先 ](#overview)
- [ 方法：ルートの静的ファイル ](#root)
- [ アンダースコアおよびドットファイル ](#exclude)
- [ 設定の確認 ](#verify)            
## ファイルの保存先

Jekyllは、アンダースコアやドットで始まらず、YAMLフロントマターもないファイルをすべて、そのままビルド済み
`_site` ディレクトリへパスを維持したままコピーされます。
`llms.txt` をプロジェクトルートに置くと、次で配信されます： `/llms.txt`.

## 方法：ルートの静的ファイル

- リポジトリのルートにファイルを作成します： `touch llms.txt` 
- コンテンツは以下に従って作成してください。 **フロントマターなし** （front matterを付けるとJekyllがレンダリングを試みます）：   
```
# Your Site Name

> One-sentence description of your site for LLM context.

## Core pages

- [Home](https://yourdomain.com/): what this site is about.
- [Blog](https://yourdomain.com/blog/): articles and updates.
- [About](https://yourdomain.com/about/): who maintains this site.

```

- ビルドしてデプロイ: `bundle exec jekyll build`.     
例

フロントマターなし = 静的

空の  ---  ブロックを先頭に置くと、JekyllはLiquidを通してファイルを処理します。  llms.txt  バイト単位でそのままコピーしたいのであれば、フロントマターは完全に省略してください。

## アンダースコアおよびドットファイル

Jekyll は、先頭が `_` または `.` デフォルトです。_ または . で始まるファイルは通常対象になりません。これは
`llms.txt`。ただし、そのようなファイルが必要になった場合は、
`include` のリストを `_config.yml`:

```
# _config.yml
include:
- _example.txt

```

## 設定の確認

```
curl -sI https://yourdomain.com/llms.txt | grep -i content-type
# expect: content-type: text/plain
```

多くの Jekyll サイトは GitHub Pages
でホストされ、ドメインのルートからファイルを配信します。以下の
[GitHub Pagesガイド](/ja/llms-txt-github-pages/) その設定については、および
[フォーマットガイド](/ja/how-to-create/) 内容を正確に伝えるために。

## ソース

- [ Jekyllドキュメント、静的ファイル ](https://jekyllrb.com/docs/static-files/)
- [ llmstxt.org、仕様リファレンス ](https://llmstxt.org/)
