fix: Missing Title and Metadata (#2770)

* add document title to server spa meta

* removed conflicting useMeta

* replaced head with useMeta

* formalized metadata injection

* small injection refactor

* added tests

* added missing global tag

* fixed setting tab title for logged-in users

* simplified metadata update

* remove duplicate tag and fix for foreign users

* add metadata for shared recipes

* added default recipe image

* fixed shared URL

---------

Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
This commit is contained in:
Michael Genson
2023-12-06 09:01:48 -06:00
committed by GitHub
parent 2751e8318a
commit 1d1d61df77
5 changed files with 207 additions and 27 deletions

View File

@@ -22,6 +22,8 @@ images_test_image_1 = CWD / "images/test-image-1.jpg"
images_test_image_2 = CWD / "images/test-image-2.png"
html_mealie_recipe = CWD / "html/mealie-recipe.html"
html_sous_vide_smoked_beef_ribs = CWD / "html/sous-vide-smoked-beef-ribs.html"
html_sous_vide_shrimp = CWD / "html/sous-vide-shrimp.html"