mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-06 14:10:53 +03:00
Merge pull request #428 from mozilla/add-twitter-og-cards
add twitter and open graph cards
This commit is contained in:
@@ -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.'
|
||||
}
|
||||
})
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user