# Antlers & Blade

## Accessing Variables

All the SEO values are processed and added to your views in an array with key `seo`. This array includes all the SEO data of the current entry or term, as well as global site defaults and computed values.

You may access any of those values like you would with any other value in Antlers or Blade:

```html
<!-- Antlers -->
{{ seo:title }}

<!-- Blade -->
{{ $seo->title }}
```

## Antlers Tags & Blade Directives

There are a couple of tags and directives to use in your views:

| Antlers Tag      | Blade Directive | Description                               |
| ---------------- | --------------- | ----------------------------------------- |
| `{{ seo:head }}` | `@seo('head')`  | Render the head view                      |
| `{{ seo:body }}` | `@seo('body')`  | Render the body view                      |
| `{{ seo:dump }}` | `@seo('dump')`  | Dump all the SEO data of the current page |


---

# 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://advanced-seo.michaelaerni.ch/reference/antlers-and-blade.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.
