Merge branch 'master' into patch-2

This commit is contained in:
Anduin Xue
2023-01-10 09:38:27 +00:00
committed by GitHub
5 changed files with 53 additions and 4 deletions

View File

@@ -10,6 +10,7 @@ docs_dir: .
theme:
name: material
language: zh
custom_dir: overrides
features:
- content.code.annotate
# - content.tabs.link

View File

@@ -10,6 +10,7 @@ docs_dir: .
theme:
name: material
language: zh
custom_dir: overrides
features:
- content.code.annotate
# - content.tabs.link

47
overrides/main.html Normal file
View File

@@ -0,0 +1,47 @@
{% extends "base.html" %} {% block disqus %}
<script src="https://giscus.app/client.js"
data-repo="Anduin2017/HowToCook"
data-repo-id="MDEwOlJlcG9zaXRvcnkyNDM5NTA0MDg="
data-category="Show and tell"
data-category-id="DIC_kwDODopjSM4CBNA6"
data-mapping="pathname"
data-strict="0"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="top"
data-theme="dark_tritanopia"
data-lang="zh-CN"
crossorigin="anonymous"
async>
</script>
<script>
var giscus = document.querySelector("script[src*=giscus]")
/* Set palette on initial load */
var palette = __get("__palette")
if (palette && typeof palette.color === "object") {
var theme = palette.color.scheme === "default" ? "light" : "dark"
giscus.setAttribute("data-theme", theme)
}
/* Register event handlers after documented loaded */
document.addEventListener("DOMContentLoaded", function () {
var ref = document.querySelector("[data-md-component=palette]")
ref.addEventListener("change", function () {
var palette = __get("__palette")
if (palette && typeof palette.color === "object") {
var theme = palette.color.scheme === "default" ? "light" : "dark"
/* Instruct Giscus to change theme */
var frame = document.querySelector(".giscus-frame")
frame.contentWindow.postMessage(
{giscus: {setConfig: {theme}}},
"https://giscus.app"
)
}
})
})
</script>
{% endblock %}

View File

@@ -18,7 +18,7 @@
* [烹煮] 烹煮蔬菜
* [烹煮] 软化含水率高的硬质蔬菜(如马铃薯、洋葱和朝鲜蓟)
* [膨化] 爆点心,如泡芙、印度帕帕达姆薄脆饼、爆米花
* [膨化] 爆点心,如泡芙、印度帕帕达姆薄脆饼、爆米花
中火适用于:

View File

@@ -31,7 +31,7 @@
如果你想节约时间,可以购买半成品并简单处理后食用:
```text
预炸过的炸鸡块、冷冻手抓饼、包好的饺子、袋装咖喱、各种丼类(盖饭)、自热食品、拌面料包、方便食品
预炸过的炸鸡块、冷冻手抓饼、包好的饺子、袋装咖喱、各种丼类(盖饭)、自热食品、拌面料包、外卖包、方便食品
```
其它针对每道菜的原材料,请具体参考菜品本身的`所需原材料`章节。