mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-15 06:35:20 -07:00
Use title from config
This commit is contained in:
parent
a5c297d2d6
commit
9d2f6e20b6
1 changed files with 3 additions and 1 deletions
|
|
@ -1,3 +1,5 @@
|
||||||
|
import config from '../nuxt.config'
|
||||||
|
|
||||||
class TV {
|
class TV {
|
||||||
// or `async data() {`
|
// or `async data() {`
|
||||||
// or `get data() {`
|
// or `get data() {`
|
||||||
|
|
@ -14,7 +16,7 @@ class TV {
|
||||||
eleventyComputed: {
|
eleventyComputed: {
|
||||||
title: ({ video }) => {
|
title: ({ video }) => {
|
||||||
// console.log('data', data)
|
// console.log('data', data)
|
||||||
return `${ video.name } - Does It ARM`
|
return `${ video.name } - ${ config.head.title }`
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue