> For the complete documentation index, see [llms.txt](https://greene-lab.gitbook.io/lab-website-template-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://greene-lab.gitbook.io/lab-website-template-docs/basics/use-your-logo.md).

# Use your logo

One of the first and most important things to do is replace the template's logo with your own logo.

There are three files in `/images` you need to update:

<table><thead><tr><th width="123.33333333333331">Filename</th><th width="193">Acceptable formats</th><th width="134">Purpose</th><th>Tips for best appearance</th></tr></thead><tbody><tr><td><code>logo</code></td><td><strong><code>.svg</code></strong> <code>.png</code> <code>.jpg</code></td><td>Displayed in the header of your site on every page.</td><td><ul><li>SVG with transparent background</li><li>No text¹</li><li>Very tight cropping (template already adds margins)</li></ul></td></tr><tr><td><code>icon</code></td><td><strong><code>.png</code></strong> <code>.jpg</code></td><td>Your site's <a href="https://en.wikipedia.org/wiki/Favicon">favic</a><a href="https://en.wikipedia.org/wiki/Favicon">on</a>.</td><td><ul><li>PNG</li><li>1:1 square aspect ratio</li><li>512 x 512 px</li><li>Very tight cropping</li><li>Discernable at very small size</li><li>Discernable on light or dark background</li></ul></td></tr><tr><td><code>share</code></td><td><strong><code>.jpg</code></strong> <code>.png</code></td><td>Preview image when you share a link to your site on Twitter, Slack, etc.</td><td><ul><li>JPG</li><li><a href="https://iamturns.com/open-graph-image-size/">~2:1 aspect ratio</a></li><li>1000 x 500 px</li><li>Logo and text, centered</li><li>Enough margins to allow <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit">cover fit</a> for varying aspect ratios</li></ul></td></tr></tbody></table>

{% hint style="info" %}
¹ Separating the text from your logo shape can look nicer, because then the template can wrap the text to a new line dynamically depending on the screen size. If you can't or don't want to do this, tell the template in your [site settings](/lab-website-template-docs/basics/configure-your-site.md).
{% endhint %}

## Favicon variations

The tool [realfavicongenerator](https://realfavicongenerator.net/) can generate tons of variations of your logo for things like: iOS/Android homepage bookmarks, Windows start menu bookmarks, Safari pinned tabs, and Internet Explorer fallbacks. In our opinion, these are pretty rarely used/encountered by visitors, so we elected to reduce this to a simple subset that covers most common use cases.

However, you can still easily include them in the template. Just follow the tool's process, and put the images it gives you in your repo, and paste the code it gives you in place of `<link rel="icon">` in `/_includes/meta.html`, and that's it!


---

# 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://greene-lab.gitbook.io/lab-website-template-docs/basics/use-your-logo.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.
