You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like the possibility to set custom weight values for elements. Is it possible to add something like this in config instead of using the data-pagefind-weight attribute.
Maybe something like :
autoWeights:
h1: 10h2: 9p: 1...
The text was updated successfully, but these errors were encountered:
Good idea! I'm overdue to rework the configuration internally to allow richer config files (currently it unifies the config file and the CLI arguments, which is blocking complex config structures).
I recently landed a similar config pattern in Flatlake, so once I bring that code back over to Pagefind I can address this (and features like multiple globs) 🙂
I would like the possibility to set custom weight values for elements. Is it possible to add something like this in config instead of using the
data-pagefind-weight
attribute.Maybe something like :
The text was updated successfully, but these errors were encountered: