From b26dbba816f523349f6d88ef24cac35e263e4c87 Mon Sep 17 00:00:00 2001 From: Travis Fischer Date: Sun, 17 Jan 2021 19:19:20 -0500 Subject: [PATCH] bugfixins --- components/NotionPage.tsx | 4 ++-- lib/config.ts | 2 +- lib/oembed.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/NotionPage.tsx b/components/NotionPage.tsx index bb6dff6..7b24e99 100644 --- a/components/NotionPage.tsx +++ b/components/NotionPage.tsx @@ -127,8 +127,8 @@ export const NotionPage: React.FC = ({ {socialDescription && ( <> - - + + )} diff --git a/lib/config.ts b/lib/config.ts index 54dc86b..392a5ce 100644 --- a/lib/config.ts +++ b/lib/config.ts @@ -11,11 +11,11 @@ export const rootNotionPageId = '78fc5a4b88d74b0e824e29407e9f1ec1' // general site config export const siteName = 'Transitive Bullshit' -export const siteFavicon = '/favicon.png' export const siteAuthor = 'Travis Fischer' export const siteDomain = 'transitivebullsh.it' export const siteDescription = 'Personal site of Travis Fischer aka Transitive Bullshit' +export const siteFavicon = `https://${siteDomain}/favicon.png` // default notion values for site-wide consistency (may be overridden on a per-page basis) export const defaultPageIcon = diff --git a/lib/oembed.ts b/lib/oembed.ts index 8c46142..1044e10 100644 --- a/lib/oembed.ts +++ b/lib/oembed.ts @@ -1,6 +1,6 @@ import { parsePageId, getPageTitle } from 'notion-utils' import { getPage } from './notion' -import * as config from './env' +import * as config from './config' export const oembed = async ({ url,