Intelligent indexing: searching rich content with Pagefind

Поделиться
HTML-код
  • Опубликовано: 20 окт 2024
  • THE Eleventy Meetup Episode 15: Using Pagefind for static search on an Eleventy (11ty) website
    A common challenge in the lean web is providing a search interface on your static site. It can be difficult to produce both your static site and a separate representation of your content for search without reproducing your site’s logic itself - how do you index the content passed into shortcodes in your Markdown? Or content generated by your layout? This talk covers Pagefind’s alternative approach to indexing, and how this bottom-up control allows your templates to describe how they should be indexed without a central configuration.
    Find out more about Pagefind here: pagefind.app/
    Find out more about CloudCannon's Eleventy CMS for live Visual Editing here: cloudcannon.co...
    Check out the demo site: beige-opossum....
    Liam Bigelow is a Senior Software Engineer at CloudCannon, where he leads development projects relating to open-source tooling for static websites. His current major projects are the static search tool Pagefind, and the component development workflow Bookshop (Hugo, Eleventy, Jekyll, and SvelteKit). He also enjoys writing gnarly unit tests for his colleagues.

Комментарии •