Merge pull request #428 from mozilla/add-twitter-og-cards

add twitter and open graph cards
This commit is contained in:
Danny Coates 2017-08-11 14:12:44 -07:00 committed by GitHub
commit e142d76cb4
5 changed files with 20 additions and 2 deletions

View file

@ -51,6 +51,11 @@ const conf = convict({
format: Boolean,
default: false,
env: 'L10N_DEV'
},
base_url: {
format: 'url',
default: 'https://send.firefox.com',
env: 'BASE_URL'
}
});

View file

@ -58,7 +58,10 @@ app.engine(
partialsDir: 'views/partials/',
helpers: {
availableLanguages,
l10nDev: conf.l10n_dev
l10nDev: conf.l10n_dev,
baseUrl: conf.base_url,
title: 'Firefox Send',
description: 'Encrypt and send files with a link that automatically expires to ensure your important documents dont stay online forever.'
}
})
);