Merge pull request #428 from mozilla/add-twitter-og-cards
add twitter and open graph cards
This commit is contained in:
commit
e142d76cb4
5 changed files with 20 additions and 2 deletions
|
@ -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'
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
@ -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 don’t stay online forever.'
|
||||
}
|
||||
})
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue