From cdc5a89cd7a9d1c3cf3468e79620ac346f806874 Mon Sep 17 00:00:00 2001
From: Tilman Vatteroth
Date: Sun, 15 Nov 2020 20:12:22 +0100
Subject: [PATCH] apply review suggestions
---
README.md | 4 ++--
lib/config/index.js | 2 +-
public/icons/html_code.html | 0
public/icons/site.webmanifest | 2 +-
public/views/hedgedoc.ejs | 1 -
public/views/hedgedoc/footer.ejs | 0
public/views/includes/favicon.ejs | 2 +-
public/views/index/body.ejs | 2 +-
public/views/shared/help-modal.ejs | 2 +-
9 files changed, 7 insertions(+), 8 deletions(-)
delete mode 100644 public/icons/html_code.html
delete mode 100644 public/views/hedgedoc/footer.ejs
diff --git a/README.md b/README.md
index 6f7373879..4ead58e37 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-
+
# HedgeDoc
@@ -14,7 +14,7 @@ It is inspired by Hackpad, Etherpad and similar collaborative editors. This
project originated with the team at [HackMD](https://hackmd.io) and now forked
into its own organisation. [A longer writeup can be read in the history doc](docs/history.md).
-[][hedgedoc-demo-features]
+[][hedgedoc-demo-features]
## Community and Contributions
diff --git a/lib/config/index.js b/lib/config/index.js
index ecd25d964..f78513a03 100644
--- a/lib/config/index.js
+++ b/lib/config/index.js
@@ -157,7 +157,7 @@ for (let i = keys.length; i--;) {
// Notify users about the prefix change and inform them they use legacy prefix for environment variables
if (Object.keys(process.env).toString().indexOf('HMD_') !== -1) {
- logger.warn('Using legacy HMD prefix for environment variables. Please change your variables in future. For details see: https://github.com/hedgedoc/hedgedoc#environment-variables-will-overwrite-other-server-configs')
+ logger.warn('Using legacy HMD prefix for environment variables. Please change your variables in future. For details see: https://github.com/hedgedoc/hedgedoc/blob/master/docs/configuration.md')
}
// Generate session secret if it stays on default values
diff --git a/public/icons/html_code.html b/public/icons/html_code.html
deleted file mode 100644
index e69de29bb..000000000
diff --git a/public/icons/site.webmanifest b/public/icons/site.webmanifest
index a3d617827..adbd7a984 100644
--- a/public/icons/site.webmanifest
+++ b/public/icons/site.webmanifest
@@ -13,6 +13,6 @@
"type": "image/png"
}
],
- "theme_color": "#303030",
+ "theme_color": "#b51f08",
"background_color": "#303030"
}
diff --git a/public/views/hedgedoc.ejs b/public/views/hedgedoc.ejs
index 1a6061ab2..cfedb2b56 100644
--- a/public/views/hedgedoc.ejs
+++ b/public/views/hedgedoc.ejs
@@ -8,7 +8,6 @@
<%- include hedgedoc/header %>
<%- include hedgedoc/body %>
- <%- include hedgedoc/footer %>
<%- include hedgedoc/foot %>
diff --git a/public/views/hedgedoc/footer.ejs b/public/views/hedgedoc/footer.ejs
deleted file mode 100644
index e69de29bb..000000000
diff --git a/public/views/includes/favicon.ejs b/public/views/includes/favicon.ejs
index 14b963fe3..1cc8edb59 100644
--- a/public/views/includes/favicon.ejs
+++ b/public/views/includes/favicon.ejs
@@ -8,4 +8,4 @@
-
+
diff --git a/public/views/index/body.ejs b/public/views/index/body.ejs
index cb96e628d..6176cb6e7 100644
--- a/public/views/index/body.ejs
+++ b/public/views/index/body.ejs
@@ -45,7 +45,7 @@
<%= __('Best way to write and share your knowledge in markdown.') %>
- CodiMD was renamed to HedgeDoc. Read more
+ CodiMD was renamed to HedgeDoc. Read more
<% if (infoMessage && infoMessage.length > 0) { %>
<%= infoMessage %>
diff --git a/public/views/shared/help-modal.ejs b/public/views/shared/help-modal.ejs
index 29872ee71..7ffee93ab 100644
--- a/public/views/shared/help-modal.ejs
+++ b/public/views/shared/help-modal.ejs
@@ -17,7 +17,7 @@