BeaconCMS/beacon

Expose `page.extra` field in the `@beacon` assign

Open

#465 opened on Apr 29, 2024

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Elixir (120 forks)batch import
area:contentgood first issueroadmap

Repository metrics

Stars
 (1,194 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

The @beacon assign that is managed and build by the BeaconAssigns module holds public data about the current page as the page title, path, and so on. But currently it's missing the extra field which holds the data of custom page fields. We want to expose that data because it's public and useful to build pages.

So when the @beacon is created we want to have @beacon.page.extra with all the data of custom page fields available.

Contributor guide