Skip to content

Commit 381eb27

Browse files
committed
og changes
1 parent 5593d07 commit 381eb27

File tree

3 files changed

+17
-4
lines changed

3 files changed

+17
-4
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# dotcom
22

3+
[![Netlify Status](https://api.netlify.com/api/v1/badges/323b39dc-6183-45bb-b6e9-341e8a95a6af/deploy-status)](https://app.netlify.com/sites/quizzical-babbage-0c32a4/deploys)
4+
35
> Personal Homepage
46
57
## Build Setup

nuxt.config.js

+15-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
11
import path from 'path'
22
import pkg from './package'
33

4+
const defaults = {
5+
title: 'Codebryo.com - Blog, Tech, More',
6+
description:
7+
'Roman Kubas personal blog full of ideas, learnings and what ever gets put on this page eventually. Have fun discovering.'
8+
}
9+
410
export default {
511
mode: 'universal',
612

713
/*
814
** Headers of the page
915
*/
1016
head: {
11-
title: pkg.name,
17+
title: defaults.title,
1218
meta: [
1319
{ charset: 'utf-8' },
1420
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
@@ -17,9 +23,14 @@ export default {
1723
{
1824
hid: 'description',
1925
name: 'description',
20-
content:
21-
'Roman Kubas personal blog full of ideas, learnings and what ever gets put on this page eventually. Have fun discovering.'
22-
}
26+
content: defaults.description
27+
},
28+
{ name: 'twitter:card', content: 'summary' },
29+
{ name: 'twitter:creator', content: 'codebryo' },
30+
{ property: 'og:url', content: 'https://codebryo.com' },
31+
{ property: 'og:title', content: defaults.title },
32+
{ property: 'og:description', content: defaults.description },
33+
{ property: 'og:image', content: '/ogdefault.jpg' }
2334
],
2435
link: [
2536
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },

static/ogdefault.jpg

15 KB
Loading

0 commit comments

Comments
 (0)