Skip to content

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

Open
PhillipHagner wants to merge 2 commits into
joeel561:mainfrom
PhillipHagner:main
Open

added basic seo tags to base.html.twig#27
PhillipHagner wants to merge 2 commits into
joeel561:mainfrom
PhillipHagner:main

Conversation

@PhillipHagner

Copy link
Copy Markdown

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

  • canonical url
  • robots/googlebot directives
  • description
  • keywords

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

  • title
  • description
  • url
  • image

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant