Skip to content

Commit

Permalink
add meta tags
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianthedev committed Jul 7, 2024
1 parent 145524c commit b29134d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docs/.vitepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,24 @@ const config = {
'link',
{ rel: 'canonical', href: canonicalUrl }
])
pageData.frontmatter.head.push(
['meta', { property: 'og:title', content: pageData.frontmatter.title }],
['meta', { property: 'og:url', content: "/img/docs-cover.jpeg" }],
['meta', { name: "description", content: "Ruby on Rails Admin Panel Framework" }],
['meta', { name: "keywords", content: "rails admin, ruby on rails admin, rails admin gem, rails admin package, crud, dashboard, rails dashboard, rails cms, rails crm, ruby on rails, admin, make it easy" }],
['meta', { name: "twitter:title", content: "Avo" }],
['meta', { name: "twitter:description", content: "Ruby on Rails Admin Panel Framework" }],
['meta', { name: "twitter:card", content: "summary_large_image" }],
['meta', { name: "twitter:site", content: "@avo_hq" }],
['meta', { name: "twitter:image", content: "/img/docs-cover.jpeg" }],
['meta', { property: "og:title", content: "Avo" }],
['meta', { property: "og:description", content: "Ruby on Rails Admin Panel Framework" }],
['meta', { property: "og:type", content: "website" }],
['meta', { property: "og:url", content: canonicalUrl }],
['meta', { property: "og:image", content: "/img/cover-code-optim.jpeg" }],
['meta', { property: "og:image:width", content: "3840" }],
['meta', { property: "og:image:height", content: "1920" }],
)
},
themeConfig: {
siteTitle: false,
Expand Down
Binary file added docs/public/img/docs-cover.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b29134d

Please sign in to comment.