diff options
Diffstat (limited to '')
| -rw-r--r-- | public/views/codimd.ejs | 15 | ||||
| -rw-r--r-- | public/views/codimd/body.ejs (renamed from public/views/hackmd/body.ejs) | 0 | ||||
| -rw-r--r-- | public/views/codimd/foot.ejs (renamed from public/views/hackmd/foot.ejs) | 0 | ||||
| -rw-r--r-- | public/views/codimd/footer.ejs (renamed from public/views/hackmd/footer.ejs) | 0 | ||||
| -rw-r--r-- | public/views/codimd/head.ejs (renamed from public/views/hackmd/head.ejs) | 0 | ||||
| -rw-r--r-- | public/views/codimd/header.ejs (renamed from public/views/hackmd/header.ejs) | 2 | ||||
| -rw-r--r-- | public/views/error.ejs | 8 | ||||
| -rw-r--r-- | public/views/hackmd.ejs | 15 | ||||
| -rw-r--r-- | public/views/index/body.ejs | 7 | ||||
| -rw-r--r-- | public/views/index/head.ejs | 2 | ||||
| -rw-r--r-- | public/views/shared/help-modal.ejs | 4 | 
11 files changed, 26 insertions, 27 deletions
| diff --git a/public/views/codimd.ejs b/public/views/codimd.ejs new file mode 100644 index 00000000..7818346c --- /dev/null +++ b/public/views/codimd.ejs @@ -0,0 +1,15 @@ +<!DOCTYPE html> +<html lang="en"> + +<head> +    <%- include codimd/head %> +</head> + +<body> +    <%- include codimd/header %> +    <%- include codimd/body %> +    <%- include codimd/footer %> +    <%- include codimd/foot %> +</body> + +</html> diff --git a/public/views/hackmd/body.ejs b/public/views/codimd/body.ejs index 49604379..49604379 100644 --- a/public/views/hackmd/body.ejs +++ b/public/views/codimd/body.ejs diff --git a/public/views/hackmd/foot.ejs b/public/views/codimd/foot.ejs index 4d73d05f..4d73d05f 100644 --- a/public/views/hackmd/foot.ejs +++ b/public/views/codimd/foot.ejs diff --git a/public/views/hackmd/footer.ejs b/public/views/codimd/footer.ejs index e69de29b..e69de29b 100644 --- a/public/views/hackmd/footer.ejs +++ b/public/views/codimd/footer.ejs diff --git a/public/views/hackmd/head.ejs b/public/views/codimd/head.ejs index 8dfef432..8dfef432 100644 --- a/public/views/hackmd/head.ejs +++ b/public/views/codimd/head.ejs diff --git a/public/views/hackmd/header.ejs b/public/views/codimd/header.ejs index 21b632ce..8fc050b7 100644 --- a/public/views/hackmd/header.ejs +++ b/public/views/codimd/header.ejs @@ -13,7 +13,7 @@              <ul class="dropdown-menu list" role="menu" aria-labelledby="menu">              </ul>          </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> CodiMD</a>          <div class="nav-mobile pull-right visible-xs">              <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> diff --git a/public/views/error.ejs b/public/views/error.ejs index a40ed39c..98c3c74e 100644 --- a/public/views/error.ejs +++ b/public/views/error.ejs @@ -2,18 +2,18 @@  <html lang="en">  <head> -    <%- include hackmd/head %> +    <%- include codimd/head %>      <link rel="stylesheet" href="<%- url %>/css/center.css">  </head>  <body> -    <%- include hackmd/header %> +    <%- include codimd/header %>      <div class="container-fluid text-center">          <div class="vertical-center-row">                  <h1><%- code %> <%- detail %> <small><%- msg %></small></h1>          </div>      </div> -    <%- include hackmd/footer %> +    <%- include codimd/footer %>  </body> -</html>
\ No newline at end of file +</html> diff --git a/public/views/hackmd.ejs b/public/views/hackmd.ejs deleted file mode 100644 index 49084a63..00000000 --- a/public/views/hackmd.ejs +++ /dev/null @@ -1,15 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> - -<head> -    <%- include hackmd/head %> -</head> - -<body> -    <%- include hackmd/header %> -    <%- include hackmd/body %> -    <%- include hackmd/footer %> -    <%- include hackmd/foot %> -</body> - -</html> diff --git a/public/views/index/body.ejs b/public/views/index/body.ejs index 220e0dae..a0de8c32 100644 --- a/public/views/index/body.ejs +++ b/public/views/index/body.ejs @@ -40,8 +40,7 @@              <div id="home" class="section"<% if(signin) { %> style="display:none;"<% } %>>                  <div class="inner cover"> -                    <h1 class="cover-heading"><i class="fa fa-file-text"></i> HackMD</h1> -                    <p class="lead"><strong>Community Edition</strong></p> +                    <h1 class="cover-heading"><i class="fa fa-file-text"></i> CodiMD</h1>                      <p class="lead">                          <%= __('Best way to write and share your knowledge in markdown.') %>                      </p> @@ -150,10 +149,10 @@                          <option value="ko">한국어</option>                      </select>                      <p> -                        © 2018 <a href="https://hackmd.io">HackMD</a> | <a href="<%- url %>/s/release-notes" target="_blank"><%= __('Releases') %></a><% if(privacyStatement) { %> | <a href="<%- url %>/s/privacy" target="_blank"><%= __('Privacy') %></a><% } %><% if(termsOfUse) { %> | <a href="<%- url %>/s/terms-of-use" target="_blank"><%= __('Terms of Use') %></a><% } %> +                        © 2018 <a href="https://hackmd.io">CodiMD</a> | <a href="<%- url %>/s/release-notes" target="_blank"><%= __('Releases') %></a><% if(privacyStatement) { %> | <a href="<%- url %>/s/privacy" target="_blank"><%= __('Privacy') %></a><% } %><% if(termsOfUse) { %> | <a href="<%- url %>/s/terms-of-use" target="_blank"><%= __('Terms of Use') %></a><% } %>                      </p>                      <h6 class="social-foot"> -                        <%- __('Follow us on %s and %s.', '<a href="https://github.com/hackmdio/HackMD" target="_blank"><i class="fa fa-github"></i> GitHub</a>, <a href="https://twitter.com/hackmdio" target="_blank"><i class="fa fa-twitter"></i> Twitter</a>', '<a href="https://www.facebook.com/hackmdio" target="_blank"><i class="fa fa-facebook-square"></i> Facebook</a>') %> +                        <%- __('Follow us on %s and %s.', '<a href="https://github.com/hackmdio/CodiMD" target="_blank"><i class="fa fa-github"></i> GitHub</a>, <a href="https://twitter.com/hackmdio" target="_blank"><i class="fa fa-twitter"></i> Twitter</a>', '<a href="https://www.facebook.com/hackmdio" target="_blank"><i class="fa fa-facebook-square"></i> Facebook</a>') %>                      </h6>                  </div>              </div> diff --git a/public/views/index/head.ejs b/public/views/index/head.ejs index e43c57d4..f826d9ee 100644 --- a/public/views/index/head.ejs +++ b/public/views/index/head.ejs @@ -6,7 +6,7 @@  <meta name="mobile-web-app-capable" content="yes">  <meta name="description" content="<%= __('Best way to write and share your knowledge in markdown.') %>">  <meta name="keywords" content="Collaborative, Markdown, Notes"> -<title>HackMD - <%= __('Collaborative markdown notes') %></title> +<title>CodiMD - <%= __('Collaborative markdown notes') %></title>  <link rel="icon" type="image/png" href="<%- url %>/favicon.png">  <link rel="apple-touch-icon" href="<%- url %>/apple-touch-icon.png">  <% if(useCDN) { %> diff --git a/public/views/shared/help-modal.ejs b/public/views/shared/help-modal.ejs index 6bcf637e..7d6576df 100644 --- a/public/views/shared/help-modal.ejs +++ b/public/views/shared/help-modal.ejs @@ -15,9 +15,9 @@                                  <h3 class="panel-title"><%= __('Contacts') %></h3>                              </div>                              <div class="panel-body"> -                                <a href="https://github.com/hackmdio/hackmd/issues" target="_blank"><i class="fa fa-tag fa-fw"></i> <%= __('Report an issue') %></a> +                                <a href="https://github.com/hackmdio/codimd/issues" target="_blank"><i class="fa fa-tag fa-fw"></i> <%= __('Report an issue') %></a>                                  <br> -                                <a href="https://riot.im/app/#/room/#hackmd:matrix.org" target="_blank"><i class="fa fa-hashtag fa-fw"></i> <%= __('Meet us on %s', 'Matrix') %></a> +                                <a href="https://riot.im/app/#/room/#codimd:matrix.org" target="_blank"><i class="fa fa-hashtag fa-fw"></i> <%= __('Meet us on %s', 'Matrix') %></a>                                  <br>                                  <a href="https://gitter.im/hackmdio/hackmd" target="_blank"><i class="fa fa-comments fa-fw"></i> <%= __('Meet us on %s', 'Gitter') %></a>                              </div> | 
