blog

My blog at www.shimmy1996.com

git clone git://git.shimmy1996.com/blog.git
commit 5143002b47e1ffb52914b66f6fec2c2ca0b84a30
parent 1659168fc3026b91bb834843036bb515448da2bf
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date:   Sat, 23 Jun 2018 19:35:34 -0500

Turn off latex by default to speed up page loads.

Diffstat:
Mconfig.toml | 3+++
Mcontent/posts/2018-05-21-construction-finished.en.md | 1+
Mcontent/posts/2018-05-21-construction-finished.zh.md | 1+
Morg/2018.org | 2+-
4 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/config.toml b/config.toml
@@ -12,6 +12,9 @@ pygmentsCodefencesGuessSyntax  = false
 pygmentsStyle                  = "emacs"
 pygmentsOptions                = "linenos="
 
+[params]
+soresuLatexOffByDefault = true
+
 [Permalinks]
 posts    = "/posts/:year-:month-:day-:slug/"
 
diff --git a/content/posts/2018-05-21-construction-finished.en.md b/content/posts/2018-05-21-construction-finished.en.md
@@ -5,6 +5,7 @@ categories = ["site-related"]
 draft = false
 date = 2018-05-21
 slug = "construction-finished"
+latex = true
 +++
 
 After eight months, my blog have finally reached a place where I feel comfortable taking down the "under heavy construction" notice on my home page. In stead of out right deleting the site road map though, I'm stashing it into a blog post.
diff --git a/content/posts/2018-05-21-construction-finished.zh.md b/content/posts/2018-05-21-construction-finished.zh.md
@@ -5,6 +5,7 @@ categories = ["site-related"]
 draft = false
 date = 2018-05-21
 slug = "construction-finished"
+latex = true
 +++
 
 历时八个月,我的博客终于到达了我觉得可以摘掉施工警告的程度。不过我并没有删除原先的站点施工计划,只不过把它移到了这篇日志里。
diff --git a/org/2018.org b/org/2018.org
@@ -477,7 +477,7 @@ In the footer section, I've replaced Twitter with [[https://mstdn.shimmy1996.com
 
 ** DONE Construction Finished                                         :plans:
 :PROPERTIES:
-:EXPORT_HUGO_CUSTOM_FRONT_MATTER: :date 2018-05-21 :slug construction-finished
+:EXPORT_HUGO_CUSTOM_FRONT_MATTER: :date 2018-05-21 :slug construction-finished :latex true
 :END:
 
 *** DONE en