Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDillon <dillonzq@outlook.com>2020-03-02 12:03:35 +0300
committerDillon <dillonzq@outlook.com>2020-03-02 12:03:35 +0300
commit285efc01bbd6ff84f025b1acc5060233185e2f01 (patch)
tree123a3a4441a190accb784c8a383953c5b43c93e0 /README.md
parentf83b1c14c88b36de419e0eeb3b7e335434bb2032 (diff)
feat(environment): use hugo.Environment to judge the production environment
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 0 insertions, 8 deletions
diff --git a/README.md b/README.md
index 25210d2..5cabbda 100644
--- a/README.md
+++ b/README.md
@@ -158,14 +158,6 @@ Customize `browserconfig.xml` and `site.webmanifest` to set theme-color and back
## Tips
-### Set `production` environment when generating site
-
-Because some features are only in production mode, so you need to add a `production` environment variables when generating your site.
-
-```bash
- HUGO_ENV=production hugo --gc --minify
-```
-
### How to toggle dark-light mode
* You can click the circle icon to toggle dark-light mode. In the desktop version the circle icon is to the right and in the mobile version is positioned to the left, close to the site title.