mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-10-27 16:24:31 -04:00
fix: duplicate ld+json data (#3444)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
This commit is contained in:
@@ -41,6 +41,7 @@
|
|||||||
"forwardPorts": [
|
"forwardPorts": [
|
||||||
3000,
|
3000,
|
||||||
9000,
|
9000,
|
||||||
|
9091, // used by docker production
|
||||||
24678 // used by nuxt when hot-reloading using polling
|
24678 // used by nuxt when hot-reloading using polling
|
||||||
],
|
],
|
||||||
// Use 'onCreateCommand' to run commands at the end of container creation.
|
// Use 'onCreateCommand' to run commands at the end of container creation.
|
||||||
|
|||||||
@@ -145,9 +145,11 @@ def content_with_meta(group_slug: str, recipe: Recipe) -> str:
|
|||||||
]
|
]
|
||||||
|
|
||||||
global __contents
|
global __contents
|
||||||
__contents = inject_recipe_json(__contents, as_schema_org)
|
contents = __contents # make a local copy so we don't modify the global contents
|
||||||
__contents = inject_meta(__contents, meta_tags)
|
contents = inject_recipe_json(contents, as_schema_org)
|
||||||
return __contents
|
contents = inject_meta(contents, meta_tags)
|
||||||
|
|
||||||
|
return contents
|
||||||
|
|
||||||
|
|
||||||
def response_404():
|
def response_404():
|
||||||
|
|||||||
Reference in New Issue
Block a user