Skip to content

Commit

Permalink
fix: meta tags
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielcaiana committed Aug 18, 2023
1 parent e17ffe1 commit c96b80f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import getSocialMeta from '~/utils/metatags'
const meta = getSocialMeta(global)
useHead({
titleTemplate: (title) =>
titleTemplate: (title = '') =>
title !== global.title ? `${title} · ${global.title}` : title,
htmlAttrs: {
lang: 'pt-br',
Expand Down
3 changes: 1 addition & 2 deletions pages/index.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<script setup>
useHead({
title:
'Desenvolvedor Front-end Especializado em Tecnologias JavaScript, Vue e Nuxt',
title: 'Home',
})
const { projects } = await $fetch('/api/algolia/projects')
Expand Down
2 changes: 1 addition & 1 deletion utils/global.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
'Gabriel Caiana | Desenvolvedor Front-end Especializado em JavaScript, TypeScript, Vue e Nuxt',
author: 'Gabriel Caiana',
description:
'Sou um Desenvolvedor Front-end Especializado em tecnologias como JavaScript, TypeScript, Vue e Nuxt. Explore meu portfólio e experiência em desenvolvimento de software.',
'Desenvolvedor Front-end Sênior especializado em JavaScript, TypeScript, Vue e Nuxt.',
siteType: 'website',
img: 'cover.png',
img_size: { width: '350', height: '350' },
Expand Down

0 comments on commit c96b80f

Please sign in to comment.