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

github.com/ertuil/erblog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLutong Chen <ertuil98@foxmail.com>2020-05-28 04:13:23 +0300
committerLutong Chen <ertuil98@foxmail.com>2020-05-28 04:13:55 +0300
commit15133cfc83cd3a78528f73e79bc40d16d4b11e5d (patch)
tree5103af54e6ce5fde506836d5a062cf3f9f5f8afa /README.md
parent2edcda21a573b5100001e15dfd138318c58f568b (diff)
Mathjax: Load on demand
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/README.md b/README.md
index a599872..9e5899a 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,11 @@
# Erblog
+> ⚠️⚠️⚠️ **Note:** Mathjax is not included directly due to the performance considerations new!
+>
+> Use `math: true` in Front Matter to enable Mathjax in each single page.
+>
+> Or set `Params.math: true` to enable it globally.
+
A personal blog theme powered by [Hugo](https://gohugo.io).
Erblog is written by Ertuil with [layui.js](https://www.layui.com), [font-awssome](https://fontawesome.com), github markdown css and [undraw](https://undraw.co).
@@ -53,6 +59,7 @@ There are some basic configuration options you may want to use:
| Params.bio | A Biography for your Blog | None |
| Params.logo | Your Blog's Logo | None |
| Params.favicon | The favicon file | /favicon.ico |
+| Params.math | import mathjax globally | false |
| Params.index_posts_num | The number of posts displayed in Index | 5 |
| Params.google_search | Enable Google Intra-Site Search Engine | false |
| Params.badge | The color for badge ('red', 'cyan', 'orange', 'green', 'blue', 'black' and 'gray' are available) | 'red' |