diff --git a/pages-eleventy/tv.11ty.js b/pages-eleventy/tv.11ty.js index a6f41e2..ed71896 100644 --- a/pages-eleventy/tv.11ty.js +++ b/pages-eleventy/tv.11ty.js @@ -10,6 +10,8 @@ import { getRouteType } from '../helpers/app-derived' // Setup dotenv dotenv.config() +export const myChannelId = 'UCB3jOb5QVjX7lYecvyCoTqQ' + export const makeTitle = function ( name ) { // console.log('tvEntry', tvEntry) @@ -103,8 +105,20 @@ class TV { ${ playerHtml }
-

${ video.name }

-
Subscribe to Max Tech
+ + ${ video.channel.id !== myChannelId ? /* html */` +
+ Subscribe to ${ video.channel.name } +
+ ` : '' }