Update project title

This commit is contained in:
Cheng-Han, Wu 2016-05-28 01:51:45 +08:00
parent e52937df50
commit 20fbc9957f
3 changed files with 3 additions and 3 deletions

View File

@ -170,7 +170,7 @@ module.exports = function (sequelize, DataTypes) {
return title; return title;
}, },
generateWebTitle: function (title) { generateWebTitle: function (title) {
title = !title || title == "Untitled" ? "HackMD - Collaborative notes" : title + " - HackMD"; title = !title || title == "Untitled" ? "HackMD - Collaborative markdown notes" : title + " - HackMD";
return title; return title;
} }
}, },

View File

@ -59,7 +59,7 @@ function renderTitle(view) {
if (title) { if (title) {
title += ' - HackMD'; title += ' - HackMD';
} else { } else {
title = 'HackMD - Collaborative notes'; title = 'HackMD - Collaborative markdown notes';
} }
return title; return title;
} }

View File

@ -9,8 +9,8 @@
<meta name="apple-mobile-web-app-status-bar-style" content="black"> <meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="mobile-web-app-capable" content="yes"> <meta name="mobile-web-app-capable" content="yes">
<meta name="description" content="Realtime collaborative markdown notes on all platforms."> <meta name="description" content="Realtime collaborative markdown notes on all platforms.">
<title>HackMD - Collaborative notes</title>
<meta name="keywords" content="Collaborative, Markdown, Notes"> <meta name="keywords" content="Collaborative, Markdown, Notes">
<title>HackMD - Collaborative markdown notes</title>
<link rel="icon" type="image/png" href="<%- url %>/favicon.png"> <link rel="icon" type="image/png" href="<%- url %>/favicon.png">
<link rel="apple-touch-icon" href="<%- url %>/apple-touch-icon.png"> <link rel="apple-touch-icon" href="<%- url %>/apple-touch-icon.png">