DepauMD branding

This commit is contained in:
Davide Depau 2018-06-17 19:26:21 +02:00
parent f36b10abb2
commit 908d6e53e7
3 changed files with 4 additions and 4 deletions

View File

@ -299,7 +299,7 @@ module.exports = function (sequelize, DataTypes) {
return title || 'Untitled' return title || 'Untitled'
}, },
generateWebTitle: function (title) { generateWebTitle: function (title) {
title = !title || title === 'Untitled' ? 'HackMD - Collaborative markdown notes' : title + ' - HackMD' title = !title || title === 'Untitled' ? 'DepauMD - Collaborative markdown notes' : title + ' - DepauMD'
return title return title
}, },
extractNoteTags: function (meta, $) { extractNoteTags: function (meta, $) {

View File

@ -13,7 +13,7 @@
<ul class="dropdown-menu list" role="menu" aria-labelledby="menu"> <ul class="dropdown-menu list" role="menu" aria-labelledby="menu">
</ul> </ul>
</div> </div>
<a class="navbar-brand pull-left" href="<%- url %>/"><i class="fa fa-file-text"></i> HackMD</a> <a class="navbar-brand pull-left" href="<%- url %>/"><i class="fa fa-file-text"></i> DepauMD</a>
<div class="nav-mobile pull-right visible-xs"> <div class="nav-mobile pull-right visible-xs">
<span class="btn btn-link btn-file ui-upload-image" title="Upload Image" style="display:none;"> <span class="btn btn-link btn-file ui-upload-image" title="Upload Image" style="display:none;">
<i class="fa fa-camera"></i><input type="file" accept="image/*" name="upload" multiple> <i class="fa fa-camera"></i><input type="file" accept="image/*" name="upload" multiple>

View File

@ -6,7 +6,7 @@
<meta name="mobile-web-app-capable" content="yes"> <meta name="mobile-web-app-capable" content="yes">
<meta name="description" content="<%= __('Best way to write and share your knowledge in markdown.') %>"> <meta name="description" content="<%= __('Best way to write and share your knowledge in markdown.') %>">
<meta name="keywords" content="Collaborative, Markdown, Notes"> <meta name="keywords" content="Collaborative, Markdown, Notes">
<title>HackMD - <%= __('Collaborative markdown notes') %></title> <title>DepauMD - <%= __('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">
<% if(useCDN) { %> <% if(useCDN) { %>
@ -19,4 +19,4 @@
<% } else { %> <% } else { %>
<%- include ../build/cover-pack-header %> <%- include ../build/cover-pack-header %>
<% } %> <% } %>
<%- include ../shared/polyfill %> <%- include ../shared/polyfill %>