An open API service indexing awesome lists of open source software.

https://github.com/zoni/hugo-theme-sidey

Hugo port of the Sidey theme for Jekyll
https://github.com/zoni/hugo-theme-sidey

Last synced: 12 months ago
JSON representation

Hugo port of the Sidey theme for Jekyll

Awesome Lists containing this project

README

          

# Sidey

This is a Hugo port of the [sidey] theme from Ronalds Vilciņš.

## Search

To make the built-in [lunr]-based search functionality work, follow these steps.

### Configure JSON index

In your Hugo configuration, enable the JSON output format for `/index.json` using something like the following (this example uses TOML):

```toml
[outputFormats]
[outputFormats.SearchIndex]
baseName = "index"
mediaType = "application/json"

[outputs]
home = ["HTML", "SearchIndex"]
```

### Create search page

Create `search.md` at the root of your `content` folder with these contents:

```
---
title: Search this site
---

# Search


}}">







```

This will make the search page available at `/search`.

[sidey]: https://github.com/ronv/sidey
[lunr]: https://lunrjs.com/