Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to insert variables in page.og_title and page.og_description? #178

Open
Dayken777 opened this issue Dec 18, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Dayken777
Copy link

Describe the bug
Is it possible to insert variables in page.og_title and page.og_description?

Boxes Version
v3.6.36

In the SEO settings when editing the page
image

Additional context
How can I put the variable I need there?

@Dayken777 Dayken777 added the bug Something isn't working label Dec 18, 2024
@tobias-kuendig
Copy link
Member

No, these are simple text boxes, so no Twig is supported.

You can use the offline.boxes.beforePageRender event to update the meta data of the page dynamically:
https://docs.boxes.offline.ch/reference/events.html#offline-boxes-beforepagerender

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants