joeel561 / OnlyFood

Recipe App with VueJs Symfony to create new recipes & you can plan them for the week & also get a shopping list of it. This App will also be published when it's finished :)
MIT License
77 stars 9 forks source link

added basic seo tags to base.html.twig #27

Open PhillipHagner opened 1 year ago

PhillipHagner commented 1 year ago

As promissed I added some very basic seo tags. This includes:

Additionally I added basic attributes for opengraph (http://ogp.me/):

I needed to add the logo to the public folder to be able to use it as a asset. In the process I converted it to png, as it doesn't need to scale and should be easily processable by robots.

I hardcoded the cannonical url aswell as the opengraph url. Feel free to comment if I should use "absolute_url('/')" to make it dynamic. I was unsure about the implication of a "dynamic url" for these properties.