ビジュアル Web デザインはリッチ CSS レイアウト、JavaScript インタラクション、メディア アセットに依存しますが、生成エンジン クローラーにはノイズのない純粋なテキスト データが必要です。 Hugo などのフレームワーク上に構築された静的サイトを運用している開発者チームにとって、プレーンテキストの .md ミラー と /llms.txt ディレクトリの生成を自動化することは、技術的な競争上の究極の利点となります。
llmstxt-generator などの CLI ツールやカスタム Hugo ビルド出力形式を活用することで、開発者はデュアルビジュアルおよびテキストインターフェイスをシームレスに提供できます。
1. Google トレンド データ: 静的サイト オートメーションとマークダウン ミラー
MarketLens MCP インフラストラクチャ経由で抽出されたデータは、自動化された AI テキスト パイプライン ツールに対する開発者の関心が高まっていることを示しています。
| Search Query / Topic Category | Relative Interest Index (0-100) | 12-Month Query Growth Rate | Search Intent & Developer Focus |
|---|---|---|---|
| Hugo Markdown Output Formats | 97 / 100 | +540% (Breakout Query) | Serving .html.md mirrors automatically |
| llmstxt-generator CLI Tool | 94 / 100 | +480% (Breakout Query) | Automating /llms.txt generation in build |
| Static Site AI Crawler Pipelines | 91 / 100 | +330% Growth | Building CI/CD pipelines for AI agents |
| GitHub Actions llms.txt Build | 89 / 100 | +270% Growth | Executing text generation in deployment |
| Plain Text Web Mirrors for LLMs | 93 / 100 | +390% Growth | Stripping DOM bloat for RAG ingestion |
2. デュアル レンダリング アーキテクチャ (.html と .html.md)
最新の GEO インフラストラクチャは、要求元のクライアントに応じて 2 つの異なる資産を提供します。
+-----------------------------------------------------------------------+
| DUAL-RENDERING STATIC ARCHITECTURE |
+-----------------------------------------------------------------------+
| Human User Request --> https://marketlens.io/pricing.html |
| (Renders Full HTML / CSS / JS Layout) |
| |
| AI Crawler Request --> https://marketlens.io/pricing.html.md |
| (Renders Pure Text Markdown Mirror) |
+-----------------------------------------------------------------------+
3. Markdown ミラー用の Hugo 出力形式の構成
公開された記事ごとに .html.md マークダウン ミラーを自動的にコンパイルするように Hugo を設定するには、次の設定を hugo.toml に追加します。
# Hugo Custom Output Format Configuration for Markdown Mirrors
[outputFormats]
[outputFormats.MarkdownMirror]
mediaType = "text/markdown"
baseName = "index"
isPlainText = true
fileSuffix = ".html.md"
[outputs]
home = ["HTML", "RSS", "MarkdownMirror"]
page = ["HTML", "MarkdownMirror"]
section = ["HTML"]
全体的なファイル仕様については、AI エージェント用の llms.txt 標準の実装 を確認し、GitHub Actions CI/CD を使用した Hugo デプロイメントの自動化 でビルド タスクを自動化し、WordPress から Hugo で静的サイト アーキテクチャを計画します。静的サイトへの移行。
シングルページミラーのレイアウトテンプレート
layouts/_default/single.md に単一ページ レイアウト テンプレートを作成します。
# {{ .Title }}
> Author: {{ .Params.author | default "MarketLens Team" }}
> Date: {{ .Date.Format "2006-01-02" }}
> Canonical URL: {{ .Permalink }}
## Overview
{{ .Description }}
## Content
{{ .RawContent }}
## Frequently Asked Questions
{{ range .Params.faqData }}
### {{ .question }}
{{ .answer }}
{{ end }}
4. CI/CD パイプラインの CLI 経由で「/llms.txt」を自動化する
開発者は、CI/CD ビルドの実行中に Python llmstxt-generator パッケージを使用して、ルート /llms.txt および /llms-full.txt ファイルの作成を自動化できます。
GitHub アクションのデプロイ ワークフロー ステップ
次のステップを .github/workflows/deploy.yml パイプラインに追加します。
name: Generate AI Text Directory
on:
push:
branches: [ main ]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install Generator CLI
run: pip install llmstxt-generator
- name: Build Hugo Static Site
run: hugo --minify
- name: Compile llms.txt & llms-full.txt
run: |
llmstxt-gen public/ --output public/llms.txt
llmstxt-gen public/ --full --output public/llms-full.txt
- name: Deploy to Cloudflare Pages
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: marketlens
directory: public
5. パフォーマンス デルタ: HTML ペイロードとマークダウン ミラー
| Architectural Metric | Standard HTML Page | Plain-Text .html.md Mirror | Performance Advantage |
|---|---|---|---|
| Raw Payload Size | 142 KB (HTML + Assets) | 18 KB (Pure Text) | -87.3% Size Reduction |
| DOM Parsing Overhead | High (1,200+ Nodes) | Zero (0 DOM Nodes) | Instant Ingestion |
| Token Utilization | 35% Core Facts / 65% Noise | 100% Core Facts | Maximum RAG Efficiency |
| Server Response TTFB | < 120ms | < 25ms | Extreme High Speed |
MarketLens