> For the complete documentation index, see [llms.txt](https://ayakaleaf-pro.ayaka.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ayakaleaf-pro.ayaka.space/on-premises/ja/she-ding/overleaf-toolkit/branding.md).

# ブランディング

### ヘッダー <a href="#header" id="header"></a>

このセクションでは、オンプレミス版インスタンスの主要要素をカスタマイズする方法を説明します。サイトタイトル、ナビゲーションリンク、ヘッダー、フッター、ロゴをお好みに合わせて変更できます。

### サイトタイトル <a href="#site-title" id="site-title"></a>

ナビゲーションバーのタイトルは次でカスタマイズできます `OVERLEAF_NAV_TITLE` 環境変数。このテキストは、ロゴが設定されていない場合、ナビゲーションの左上に表示されます。

```bash
# config/variables.env に追加
OVERLEAF_NAV_TITLE=私たちの Overleaf インスタンス
```

## ロゴ

テキストの代わりにカスタムロゴを追加するには、環境変数 `OVERLEAF_HEADER_IMAGE_URL`を設定します。この値は外部でホストされている画像ファイルを指している必要があります。

config/variables.env に追加:

{% code title="config/variables.env" %}

```bash
# config/variables.env に追加
OVERLEAF_HEADER_IMAGE_URL=https://mysite.somewhere.com/img/logo.png
```

{% endcode %}

## ヘッダーナビゲーションリンク

ナビゲーションヘッダーには、次を設定することで追加のナビゲーション項目を追加できます `OVERLEAF_HEADER_EXTRAS` 環境変数にオブジェクトの JSON 配列を設定します。例:

{% code overflow="wrap" %}

```json
[\
  {\
    "text": "リンク",\
    "url": "http://example.com/somelink",\
    "class": "控えめ",\
    "only_when_logged_out": true\
  },\
  {\
    "text": "ヘルプ",\
    "class": "控えめ",\
    "dropdown": [\
      {\
        "text": "ドキュメント",\
        "url": "/learn"\
      },\
      {\
        "text": "管理者に連絡",\
        "url": "http://example.com/contact"\
      }\
    ]\
  }\
]
```

{% endcode %}

エスケープされた JSON 形式を toolkit/variables.env に追加:

{% code title="toolkit/variables.env" overflow="wrap" %}

```bash
# toolkit/variables.env に追加
OVERLEAF_HEADER_EXTRAS=[{"text":"リンク","url":"http://example.com/somelink","class":"控えめ","only_when_logged_out":true},{"text":"ヘルプ","class":"控えめ","dropdown":[{"text":"ドキュメント","url":"/learn"},{"text":"管理者に連絡","url":"http://example.com/contact"}]}]
```

{% endcode %}

## フッター

左側のフッターと、より小さな右側のフッター（次のようなページにあります）を両方ともカスタマイズできます `/project`) は、次の環境変数を使用してカスタマイズできます `OVERLEAF_LEFT_FOOTER` および `OVERLEAF_RIGHT_FOOTER`。どちらも、挿入される JSON オブジェクトの配列を想定しています。

どちらも、挿入される JSON の配列を想定しています。

```json
[\
  {\
    "text": "これはテキストフッター項目の例です！"\
  },\
  {\
    "text": "これは URL フッターリンクの例です！", "url" : "/my-first-link.htm"\
  }\
]
```

{% hint style="info" %}
使用する `テキスト` のみを使う場合、値は生テキストとしてレンダリングされるため HTML を含めてはいけません。
{% endhint %}

このデータは有効な JSON である必要があり、環境変数として渡す際には引用符をエスケープする必要があります。

{% code title="config/variables.env" overflow="wrap" %}

```bash
# config/variables.env に追加
OVERLEAF_LEFT_FOOTER=[{"text": "これはテキストフッター項目の例です！"}]
OVERLEAF_RIGHT_FOOTER=["text": "これは URL フッターリンクの例です！", "url" : "/my-first-link.htm"]
```

{% endcode %}

{% hint style="info" %}
に加えて `テキスト` および `URL`、JSON オブジェクトは次のプロパティも受け付けます `クラス` および `ラベル` 追加のカスタマイズ用
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://ayakaleaf-pro.ayaka.space/on-premises/ja/she-ding/overleaf-toolkit/branding.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
