diff --git a/blog/components/Base.ts b/blog/components/Base.ts index eb6feaf..b45512c 100644 --- a/blog/components/Base.ts +++ b/blog/components/Base.ts @@ -16,73 +16,81 @@ type BaseProps = { site: { domain: string }; }; -export const Base = (props: BaseProps) => - html` +export const Base = (props: BaseProps) => html`
- - - - ${ - !props.page?.relativeWebsitePath ? "" : ` + + + + ${!props.page?.relativeWebsitePath + ? "" + : ` - ` - } - - + `} + + - - - - ${ - !props.page?.data?.thumbnail?.src ? "" : ` + + + + ${!props.page?.data?.thumbnail?.src + ? "" + : ` - ` - } - + `} + - ${ - props.keywords - ? `` - : "" - } + ${props.keywords + ? `` + : ""} ${props.author ? ` ` : ""}