# Tags

:eye: [PREVIEW](https://greenelab.github.io/lab-website-template/testbed#tags)

This component is automatically included in other components such as the [card](/lab-website-template-docs/basics/components/card.md) and [citation](/lab-website-template-docs/basics/components/citation.md). But you can also use it stand-alone to manually list a set of tags that a visitor can [filter the page by](/lab-website-template-docs/basics/components/search.md).

```liquid
{%
  include tags.html
  tags="ovarian cancer, dataset, gene expression"
  repo="your-lab/some-repo"
  link="blog"
%}
```

<table><thead><tr><th width="137">Parameter</th><th width="461">Description</th><th>Default</th></tr></thead><tbody><tr><td><code>tags</code></td><td>List of tags to display. Can be a comma-separated string or an array.</td><td></td></tr><tr><td><code>repo</code></td><td>GitHub repository to automatically fetch additional <a href="https://github.com/topics">"tags"</a> from. Just user/org name and repo name, e.g. <code>greenelab/deep-review</code>.</td><td></td></tr><tr><td><code>link</code></td><td>What page of your site to go to when clicking on a tag. The template will go to this page and <a href="/pages/6E051AMfUKyXYiw1UMup">search</a> for items that have that tag.</td><td>Current page</td></tr></tbody></table>


---

# Agent Instructions: 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:

```
GET https://greene-lab.gitbook.io/lab-website-template-docs/basics/components/tags.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
