Skip to content

Commit a9a9379

Browse files
committed
Add Twitter card attributes
1 parent ba67e91 commit a9a9379

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

nuxt.config.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@ export default defineNuxtConfig({
99
meta: [
1010
{ property: 'og:image', content: '/assets/images/gv-opengraph.png'},
1111
{ property: 'og:image:alt', content: 'GOV.UK Vue'},
12-
{ name: 'description', content: 'GOV.UK Vue provides Vue implementations of every component in the GOV.UK Design System.' }
12+
{ name: 'description', content: 'GOV.UK Vue provides Vue implementations of every component in the GOV.UK Design System.' },
13+
{ name: 'twitter:card', content: 'summary' },
14+
{ name: 'twitter:title', content: 'GOV.UK Vue' },
15+
{ name: 'twitter:description', content: 'Vue versions of every GOV.UK component'},
16+
{ name: 'twitter:image', content: '/assets/images/gv-twitter.png'},
17+
{ name: 'twitter:image:alt', content: 'GOV.UK Vue crown logo'}
1318
],
1419
htmlAttrs: {
1520
class: 'govuk-template',

public/assets/images/gv-twitter.png

28.4 KB
Loading

0 commit comments

Comments
 (0)