Skip to content

Commit

Permalink
feat: add OpenGraph and Twitter attributes to header (#476)
Browse files Browse the repository at this point in the history
This update includes OpenGraph and Twitter attributes in the HTML header.
This enhances sharing experiences on social media.
Shared content now presents more rich and relevant information.
  • Loading branch information
IdanCo authored Aug 7, 2023
1 parent aed0b52 commit 0944af2
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,20 @@ module.exports = {
organizationName: 'ngneat',
projectName: 'elf',
themeConfig: {
metadata: [{
name: 'google-site-verification',
content: 'zLIQAxOp2sGFy10UE51HAMtWTqg7J8z1hpTxZR9G1WA'
}],
metadata: [
{ name: 'google-site-verification', content: 'zLIQAxOp2sGFy10UE51HAMtWTqg7J8z1hpTxZR9G1WA' },
{ name: 'twitter:card', content: 'summary_large_image' },
{ property: 'twitter:domain', content: 'ngneat.github.io' },
{ property: 'twitter:url', content: 'https://ngneat.github.io/elf/' },
{ name: 'twitter:title', content: 'Elf 🧝' },
{ name: 'twitter:description', content: 'A Reactive Store with Magical Powers' },
{ name: 'twitter:image', content: 'https://ngneat.github.io/elf/img/elf.png' },
{ property: 'og:url', content: 'https://ngneat.github.io/elf/' },
{ property: 'og:type', content: 'website' },
{ property: 'og:title', content: 'Elf 🧝' },
{ property: 'og:description', content: 'A Reactive Store with Magical Powers' },
{ property: 'og:image', content: 'https://ngneat.github.io/elf/img/elf.png' },
],
algolia: {
appId: 'GSDPQ4A8PM',
apiKey: 'a7655f6472e9024f257027fa9b4e9e7e',
Expand Down

0 comments on commit 0944af2

Please sign in to comment.