> For the complete documentation index, see [llms.txt](https://overleaf-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://overleaf-pro.ayaka.space/on-premises/da/konfiguration/overleaf-toolkit/branding.md).

# Branding

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

I dette afsnit gennemgår vi, hvordan du tilpasser nøgleelementerne i din lokale installation. Du kan tilpasse webstedstitlen, navigationslinks, overskriften, sidefoden og logoet efter dine præferencer.

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

Navigationslinjens titel kan tilpasses med `OVERLEAF_NAV_TITLE` miljøvariablen, denne tekst bruges i navigationsområdet øverst til venstre, hvis der ikke er angivet et logo.

```bash
# tilføj til config/variables.env
OVERLEAF_NAV_TITLE=Our Overleaf Instance
```

## Logo

Du kan tilføje et brugerdefineret logo i stedet for at bruge tekst ved at angive miljøvariablen `OVERLEAF_HEADER_IMAGE_URL`. Denne værdi skal pege på en eksternt hostet billedfil.

Tilføj til config/variables.env:

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

```bash
# tilføj til config/variables.env
OVERLEAF_HEADER_IMAGE_URL=https://mysite.somewhere.com/img/logo.png
```

{% endcode %}

## Navigationslinks i overskriften

Ekstra navigationselementer kan tilføjes til navigationsoverskriften ved at angive `OVERLEAF_HEADER_EXTRAS` miljøvariablen til et JSON-array af objekter. For eksempel:

{% code overflow="wrap" %}

```json
[\
  {\
    "text": "Et link",\
    "url": "http://example.com/somelink",\
    "class": "subdued",\
    "only_when_logged_out": true\
  },\
  {\
    "text": "Hjælp",\
    "class": "subdued",\
    "dropdown": [\
      {\
        "text": "Dokumentation",\
        "url": "/learn"\
      },\
      {\
        "text": "Kontakt administrator",\
        "url": "http://example.com/contact"\
      }\
    ]\
  }\
]
```

{% endcode %}

Tilføj den undslupne JSON-form til toolkit/variables.env:

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

```bash
# tilføj til toolkit/variables.env
OVERLEAF_HEADER_EXTRAS=[{"text":"Et link","url":"http://example.com/somelink","class":"subdued","only_when_logged_out":true},{"text":"Hjælp","class":"subdued","dropdown":[{"text":"Dokumentation","url":"/learn"},{"text":"Kontakt administrator","url":"http://example.com/contact"}]}]
```

{% endcode %}

## Sidefødder

Det er muligt at tilpasse både venstre og den mindre højre sidefod (findes på sider som `/project`) ved hjælp af miljøvariablerne `OVERLEAF_LEFT_FOOTER` og `OVERLEAF_RIGHT_FOOTER`. Begge forventer et array af JSON-objekter, som vil blive indsat.

Begge forventer et array af JSON, som vil blive indsat.

```json
[\
  {\
    "text": "Dette er en eksempel-tekst i sidefoden!"\
  },\
  {\
    "text": "Dette er et eksempel på et URL-sidefodslink!", "url" : "/my-first-link.htm"\
  }\
]
```

{% hint style="info" %}
Når du bruger `tekst` alene, må det ikke indeholde HTML, da værdien vil blive gengivet som rå tekst.
{% endhint %}

Disse data skal være gyldig JSON for at fungere, med anførselstegn undsluppet, når de sendes videre som en miljøvariabel.

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

```bash
# tilføj til config/variables.env
OVERLEAF_LEFT_FOOTER=[{"text": "Dette er en eksempel-tekst i sidefoden!"}]
OVERLEAF_RIGHT_FOOTER=["text": "Dette er et eksempel på et URL-sidefodslink!", "url" : "/my-first-link.htm"]
```

{% endcode %}

{% hint style="info" %}
Ud over `tekst` og `url`, accepterer JSON-objektet også egenskaberne `klasse` og `etiket` til yderligere tilpasning.
{% 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://overleaf-pro.ayaka.space/on-premises/da/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.
