Frontmatter
blocks:
- type: search
heading: {} # (optional)
surtitle: '' # string (optional)
title: '' # string (optional)
text: '' # markdown (optional)
ui: {} # (optional)
theme: '' # [accent, black, dark, highlight, light, neutral, white] (optional)
grid: '' # [xsmall, small, medium, large, container, full] (optional)
offset: '' # [start, center, end] (optional)
align: '' # [start, center, end] (optional)
The search is powered by Pagefind, which indexes the site after the build. The block renders nothing unless params.search.enable is on.
See Common keys for heading, footing and the full ui reference.
Params
/config/_default/params.yaml
search:
enable: true # boolean, required for the block to render
showEmptyFilters: true # boolean (optional)
showImages: true # boolean (optional)
showSubResults: true # boolean (optional)
Files
| Module | Files |
|---|---|
| hugolify-theme | Template , Sub-templates |
| hugolify-admin | Block type , Fields |
| hugolify-example-blocks | Demo content |
Styling availability
| Module | Availability | Files |
|---|---|---|
| hugolify-theme-bootstrap | Available | SASS |
| hugolify-theme-design-system | Available | CSS |
Related link
CMS availability
| CMS | Hugolify Admin v2 |
|---|---|
| CloudCannon | Available |
| Decap CMS | Available |
| Netlify CMS | Available |
| Pages CMS | Available |
| Static CMS | Available |
| Sveltia CMS | Available |
| Tina CMS | Available |