Embeds
Parts of fepli you place on your own pages. They load current data from your municipality's fepli and take on the look of your site.
Embeds are a prototype. Element names, attributes and theming variables may still change before they are released, so don't build on them yet. Until then, Offers on your website shows how to list offers with the REST API.
How it works
- 01Load the script onceIn the head of your page or template. It registers all embeds.
- 02Place an elementWherever the offers should appear. Attributes choose the edition and filters.
- 03Match your designCSS custom properties set colour, font and corners.
HTML
<!-- once, in the <head> -->
<script type="module" src="https://ferienpass-musterstadt.de/embed.js"></script>
<!-- where the offers should appear -->
<fepli-offers edition="herbstferien-2026"></fepli-offers>All embeds
- <fepli-offers>Offer listThe published offers of an edition, with filters for category and age.
- <fepli-offer>Offer detailOne offer with its dates, fees, places and the apply button.
- <fepli-application-form>Application formFamilies apply for one or more offers without leaving your site.
- <fepli-calendar>Edition calendarAll dates of an edition, as a month or week view.
- <fepli-account>Login & accountSign-in for families, then their applications and participants.
Embeds show what the REST API shows without a token: the published offers of editions that are online. To read or change anything else, use the REST API.