add album meta description for alubms domain

This commit is contained in:
Abhinav 2022-02-04 19:44:25 +05:30
parent f361ad516b
commit fdd06b1ece
2 changed files with 9 additions and 4 deletions

View file

@ -659,6 +659,15 @@ export default function App({ Component, err }) {
<> <>
<Head> <Head>
<title>{constants.TITLE}</title> <title>{constants.TITLE}</title>
{typeof window !== 'undefined' &&
window.location.host === getAlbumSiteHost() ? (
<meta name="description" content="album shared over ente" />
) : (
<meta
name="description"
content="ente is a privacy focussed photo storage service that offers end-to-end encryption."
/>
)}
</Head> </Head>
<GlobalStyles /> <GlobalStyles />
{showNavbar && ( {showNavbar && (

View file

@ -33,10 +33,6 @@ export default class MyDocument extends Document {
return ( return (
<Html lang="en"> <Html lang="en">
<Head> <Head>
<meta
name="description"
content="ente is a privacy focussed photo storage service that offers end-to-end encryption."
/>
<link <link
rel="icon" rel="icon"
href="/images/favicon.png" href="/images/favicon.png"