Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

Commit

Permalink
fixup header/meta attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
hackmod committed Jun 14, 2018
1 parent 59b5d7f commit 9db23f3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app/client/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ Meteor.startup(function() {
TAPi18n.setLanguage('en');
}
}

// change some header attributes
document.title = publicSettings.title || publicSettings.walletName || "Ethereum Wallet";
var description = publicSettings.description || "The Ethereum wallet";
var keywords = publicSettings.keywords || "wallet, dapp, ethereum";
$('meta[name=description]').attr('content', description);
$('meta[name=keywords]').attr('content', keywords);

// change moment and numeral language, when language changes
Tracker.autorun(function() {
if (_.isString(TAPi18n.getLanguage())) {
Expand Down

0 comments on commit 9db23f3

Please sign in to comment.