Skip to content

Commit

Permalink
Add Open Graph metadata
Browse files Browse the repository at this point in the history
We cannot use relative paths for the image [1] so we are using the logo
in GitHub

[1]: https://stackoverflow.com/questions/9858577/open-graph-can-resolve-relative-url
  • Loading branch information
dana-gill committed Jan 15, 2025
1 parent 5285dd1 commit f608a6e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/cli/templates/form-trigger.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
<meta charset='UTF-8' />
<meta name='viewport' content='width=device-width, initial-scale=1.0' />
<meta name="description" content="{{formDescriptionMetadata}}" />
<meta property="og:title" content="n8n Form: {{formTitle}}" />
<meta property="og:description" content="{{formDescriptionMetadata}}" />
<meta property="og:type" content="website" />
<meta property="og:image" content="https://github.com/n8n-io/n8n/blob/master/assets/n8n-logo.png?raw=true" />
<link rel='icon' type='image/png' href='https://n8n.io/favicon.ico' />
<link
href='https://fonts.googleapis.com/css?family=Open+Sans'
Expand Down

0 comments on commit f608a6e

Please sign in to comment.