Skip to content

Commit ba92fb6

Browse files
committed
Add meta description in pages
1 parent 4b1268d commit ba92fb6

19 files changed

+74
-8
lines changed

src/.vuepress/config/languages/en/blog.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ const posts = {
66
dirname: 'posts',
77
path: '/posts/',
88
itemPermalink: '/posts/:slug',
9+
frontmatter: {
10+
meta: [
11+
{
12+
name: 'description',
13+
content: 'Community posts on accessibility with a focus on development with Vue.js'
14+
}
15+
]
16+
},
917
pagination: {
1018
layout: 'Posts',
1119
prevText: '<<',

src/.vuepress/config/languages/en/sidebarStructure.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ module.exports = {
6868
{
6969
title: 'Recipes',
7070
children: [
71-
'',
72-
'contribute'
71+
''
7372
]
7473
},
7574
{

src/.vuepress/config/languages/pt/blog.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ const posts = {
66
dirname: 'pt/posts',
77
path: '/pt/posts/',
88
itemPermalink: '/posts/:slug',
9+
frontmatter: {
10+
meta: [
11+
{
12+
name: 'description',
13+
content: 'Posts da comunidade sobre acessibilidade com foco no desenvolvimento com Vue.js'
14+
}
15+
]
16+
},
917
pagination: {
1018
layout: 'Posts',
1119
prevText: '<<',

src/.vuepress/config/languages/pt/sidebarStructure.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ module.exports = {
6868
{
6969
title: 'Receitas',
7070
children: [
71-
'',
72-
'contribua'
71+
''
7372
]
7473
},
7574
{

src/.vuepress/theme/styles/_a11y.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
z-index: 2;
1010
outline-width: 3px !important;
1111
outline-style: dotted !important;
12-
outline-color: transparent;
12+
outline-color: transparent !important;
1313
outline-offset: 6px;
1414
transition: outline-offset .1s ease;
1515
}
1616

1717
*:focus {
18-
outline-color: var(--color);
19-
outline-offset: 2px !important;
18+
outline-color: var(--color) !important;
19+
outline-offset: 2px;
2020
}
2121

2222
[tabindex="-1"] {

src/project/how-to-contribute.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
---
2+
description: Find out how to contribute to Vue Accessibility project
3+
---
4+
5+
16
# How to contribute
27

38
First of all, happy that you are here on this page and thinking about contributing to the project.

src/project/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
description: Vue A11y is an open-source community project, where the main objective is to create content focused on Vue.js and bringing maximum accessibility
3+
---
4+
15
# Introduction
26

37
**Vue A11y** is an open-source community project, where the main objective is to create content focused on Vue.js and bringing maximum accessibility.

src/project/people.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
description: Find out who are the people who make the vue-a11y project happen
3+
---
4+
15
# Who make it happen.
26

37
<br>

src/project/resources.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
description: Essential resources to help you develop and make your Vue app much more accessible. Accessibility tips, posts, vídeos, packages, online tools, and more.
3+
---
4+
15
# Resources
26

37
<br>

src/project/supporting.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
---
2+
description: Essential resources to help you develop and make your Vue app much more accessible. Accessibility tips, posts, vídeos, packages, online tools, and more.
3+
---
14
# Supporting
25

36
<br>

0 commit comments

Comments
 (0)