Recipes page showing partial metadata in HTML #549
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
After sharing a link to
https://recipes.coopcloud.tech/hugo
in Element, I noticed it showed a generic title in the page metadataCo-op Cloud Recipes
Which confused me, as in my tab it showed the name
hugo - Co-op Cloud Recipe
Upon inspecting the HTML of the page, I see:
Having done zero further inspection, I assume this happening as the recipe name is being generated in JS / DOM land or such?
In general, it's probably a good idea to not only have the proper page title rendered, but also the Open Graph tags with further metadata included.
thanks so much for the report @basebuilder! 👏
I'm kind of amazed it's working at all, I wonder if Element is following a redirect in a non-standard way? https://opengraph.dev/panel?url=https%3A%2F%2Frecipes.coopcloud.tech%2Fhugo
Indeed the app is written in Elm, and all the content is generated client-side. Wonder how to add opengraph tags then 🤔
I haven't dealt with this issue in awhile as all my single page apps are authenticated. I always use server-side rendering for things I want "on the web" and thus output HTML for those bits. I know nothing about Elm, but maybe it has some ability to do that? Perhaps helpful?