diff options
Diffstat (limited to '')
-rw-r--r-- | public/views/hedgedoc.ejs | 15 | ||||
-rw-r--r-- | public/views/hedgedoc/body.ejs (renamed from public/views/codimd/body.ejs) | 0 | ||||
-rw-r--r-- | public/views/hedgedoc/foot.ejs (renamed from public/views/codimd/foot.ejs) | 0 | ||||
-rw-r--r-- | public/views/hedgedoc/footer.ejs | 0 | ||||
-rw-r--r-- | public/views/hedgedoc/head.ejs (renamed from public/views/codimd/head.ejs) | 5 | ||||
-rw-r--r-- | public/views/hedgedoc/header.ejs (renamed from public/views/codimd/header.ejs) | 5 |
6 files changed, 22 insertions, 3 deletions
diff --git a/public/views/hedgedoc.ejs b/public/views/hedgedoc.ejs new file mode 100644 index 00000000..1a6061ab --- /dev/null +++ b/public/views/hedgedoc.ejs @@ -0,0 +1,15 @@ +<!DOCTYPE html> +<html lang="en"> + +<head> + <%- include hedgedoc/head %> +</head> + +<body> + <%- include hedgedoc/header %> + <%- include hedgedoc/body %> + <%- include hedgedoc/footer %> + <%- include hedgedoc/foot %> +</body> + +</html> diff --git a/public/views/codimd/body.ejs b/public/views/hedgedoc/body.ejs index 96cb8f95..96cb8f95 100644 --- a/public/views/codimd/body.ejs +++ b/public/views/hedgedoc/body.ejs diff --git a/public/views/codimd/foot.ejs b/public/views/hedgedoc/foot.ejs index 9d620e29..9d620e29 100644 --- a/public/views/codimd/foot.ejs +++ b/public/views/hedgedoc/foot.ejs diff --git a/public/views/hedgedoc/footer.ejs b/public/views/hedgedoc/footer.ejs new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/public/views/hedgedoc/footer.ejs diff --git a/public/views/codimd/head.ejs b/public/views/hedgedoc/head.ejs index 71e261fb..e7b13e8a 100644 --- a/public/views/codimd/head.ejs +++ b/public/views/hedgedoc/head.ejs @@ -4,12 +4,13 @@ <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="black"> <meta name="mobile-web-app-capable" content="yes"> +<%- include ../includes/favicon %> <% for (var og in opengraph) { %> <% if (opengraph.hasOwnProperty(og) && opengraph[og].trim() !== '') { %> <meta property="og:<%- og %>" content="<%- opengraph[og] %>"> <% }} if (!opengraph.hasOwnProperty('image')) { %> -<meta property="og:image" content="<%- serverURL %>/codimd-icon-1024.png"> -<meta property="og:image:alt" content="CodiMD logo"> +<meta property="og:image" content="<%- serverURL %>/icons/android-chrome-512x512"> +<meta property="og:image:alt" content="HedgeDoc logo"> <meta property="og:image:type" content="image/png"> <% } %> <base href="<%- serverURL %>/"> diff --git a/public/views/codimd/header.ejs b/public/views/hedgedoc/header.ejs index 6bf37804..f700cd5b 100644 --- a/public/views/codimd/header.ejs +++ b/public/views/hedgedoc/header.ejs @@ -13,7 +13,10 @@ <ul class="dropdown-menu list" role="menu" aria-labelledby="menu"> </ul> </div> - <a class="navbar-brand pull-left" href="<%- serverURL %>/"><i class="fa fa-file-text"></i> CodiMD</a> + <a class="navbar-brand pull-left header-brand" href="<%- serverURL %>/" title="HedgeDoc (formerly CodiMD)"> + <img src="<%- serverURL %>/banner/banner_h_bw.svg" alt="HedgeDoc" class="h-100 no-night"> + <img src="<%- serverURL %>/banner/banner_h_wb.svg" alt="HedgeDoc" class="h-100 night"> + </a> <div class="nav-mobile pull-right visible-xs"> <a data-toggle="dropdown" class="btn btn-link"> <i class="fa fa-caret-down"></i> |