> ## Content Index
> Fetch the complete content index at: https://getpublii.com/dev/llms.txt
> Use this file to discover other available public pages before exploring further.

# @customSearchContent global variable

- URL: https://getpublii.com/dev/customsearchcontent-global-variable/
- Published: 2022-07-17T10:07:13.918Z
- Updated: 2024-02-09T10:34:37.363Z
- Description: Some of the Publii search plugins can generate search results as a separate area. In order to properly handle this feature you must implement two changes…
- Author: Tomasz Dziuda
- Tags: Global Variables

Some of the [Publii search plugins](https://marketplace.getpublii.com/plugins/) can generate search results as a separate area. In order to properly handle this feature you must implement two changes in your theme:

## 1\. Add support for customSearch

Just add `customSearch` under your theme [supportedFeatures](#INTERNAL_LINK#/post/133) section.

## 2\. Implement @customSearchContent global variable

In the simplest for you must just add the following code in your theme to the **search.hbs** file:

```handlebars
{{{@customSearchContent}}}
```

Then plugins which uses this global variable, will output there search results.
