> 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/de/konfiguration/overleaf-toolkit/branding.md).

# Branding

### Kopfzeile <a href="#header" id="header"></a>

In diesem Abschnitt behandeln wir, wie Sie wichtige Elemente Ihrer On-Premises-Instanz personalisieren. Sie können den Seitentitel, die Navigationslinks, die Kopfzeile, die Fußzeile und das Logo nach Ihren Wünschen anpassen.

### Seitentitel <a href="#site-title" id="site-title"></a>

Der Titel der Navigationsleiste kann mit der `OVERLEAF_NAV_TITLE` Umgebungsvariable verwendet; dieser Text wird oben links in der Navigation angezeigt, wenn kein Logo festgelegt ist.

```bash
# zu config/variables.env hinzufügen
OVERLEAF_NAV_TITLE=Unsere Overleaf-Instanz
```

## Logo

Sie können ein benutzerdefiniertes Logo hinzufügen, anstatt Text zu verwenden, indem Sie die Umgebungsvariable festlegen `OVERLEAF_HEADER_IMAGE_URL`. Dieser Wert sollte auf eine extern gehostete Bilddatei verweisen.

Zu config/variables.env hinzufügen:

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

```bash
# zu config/variables.env hinzufügen
OVERLEAF_HEADER_IMAGE_URL=https://mysite.somewhere.com/img/logo.png
```

{% endcode %}

## Navigationslinks in der Kopfzeile

Zusätzliche Navigationselemente können der Navigationskopfzeile hinzugefügt werden, indem die `OVERLEAF_HEADER_EXTRAS` Umgebungsvariable auf ein JSON-Array von Objekten gesetzt wird. Zum Beispiel:

{% code overflow="wrap" %}

```json
[\
  {\
    "text": "Ein Link",\
    "url": "http://example.com/somelink",\
    "class": "subdued",\
    "only_when_logged_out": true\
  },\
  {\
    "text": "Hilfe",\
    "class": "subdued",\
    "dropdown": [\
      {\
        "text": "Dokumentation",\
        "url": "/learn"\
      },\
      {\
        "text": "Admin kontaktieren",\
        "url": "http://example.com/contact"\
      }\
    ]\
  }\
]
```

{% endcode %}

Fügen Sie die maskierte JSON-Form zu toolkit/variables.env hinzu:

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

```bash
# zu toolkit/variables.env hinzufügen
OVERLEAF_HEADER_EXTRAS=[{"text":"Ein Link","url":"http://example.com/somelink","class":"subdued","only_when_logged_out":true},{"text":"Hilfe","class":"subdued","dropdown":[{"text":"Dokumentation","url":"/learn"},{"text":"Admin kontaktieren","url":"http://example.com/contact"}]}]
```

{% endcode %}

## Fußzeilen

Es ist möglich, sowohl die linke als auch die kleinere rechte Fußzeile anzupassen (zu finden auf Seiten wie `/project`) mithilfe der Umgebungsvariablen `OVERLEAF_LEFT_FOOTER` und `OVERLEAF_RIGHT_FOOTER`. Beide erwarten ein Array von JSON-Objekten, das eingefügt wird.

Beide erwarten ein Array von JSON, das eingefügt wird.

```json
[\
  {\
    "text": "Dies ist ein Beispiel für einen Text-Fußzeileneintrag!"\
  },\
  {\
    "text": "Dies ist ein Beispiel für einen URL-Fußzeilenlink!", "url" : "/my-first-link.htm"\
  }\
]
```

{% hint style="info" %}
Bei der Verwendung von `text` nur darf es kein HTML enthalten, da der Wert als Rohtext gerendert wird.
{% endhint %}

Diese Daten müssen gültiges JSON sein, damit es funktioniert, wobei Anführungszeichen maskiert werden müssen, wenn sie als Umgebungsvariable übergeben werden.

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

```bash
# zu config/variables.env hinzufügen
OVERLEAF_LEFT_FOOTER=[{"text": "Dies ist ein Beispiel für einen Text-Fußzeileneintrag!"}]
OVERLEAF_RIGHT_FOOTER=[{"text": "Dies ist ein Beispiel für einen URL-Fußzeilenlink!", "url" : "/my-first-link.htm"}]
```

{% endcode %}

{% hint style="info" %}
Zusätzlich zu `text` und `url`, das JSON-Objekt akzeptiert außerdem die Eigenschaften `class` und `Beschriftung` für zusätzliche Anpassungen.
{% 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/de/konfiguration/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.
