fix: A1-12 functional client-side search with real PagefindUI and fragment index

This commit is contained in:
2026-05-29 10:29:42 +02:00
parent 5b619f492a
commit babae1838d
23 changed files with 1038 additions and 485 deletions

View File

@@ -252,7 +252,7 @@ defmodule BDS.GenerationTest do
title: "Post View",
kind: :post,
content:
"<article class=\"post-template\"><h1>{{ post.title }}</h1><div class=\"body\">{{ post.content }}</div></article>"
"<article class=\"post-template\" data-pagefind-body><h1>{{ post.title }}</h1><div class=\"body\">{{ post.content }}</div></article>"
})
assert {:ok, published_post_template} = BDS.Templates.publish_template(post_template.id)