{{ post.title }}
- -{% include post-description.html %}
-diff --git a/_config.yml b/_config.yml index db7752b..08fef9a 100644 --- a/_config.yml +++ b/_config.yml @@ -106,9 +106,8 @@ avatar: /assets/img/favicons/favicon-96x96.png social_preview_image: # string, local or CORS resources # boolean type, the global switch for TOC in posts. -#toc: true -toc: - enabled: true # boolean type, the global switch for TOC in posts. +toc: true +# enabled: true # boolean type, the global switch for TOC in posts. # min_heading_level: 2 # Start with heading 2 (i.e. h2) # max_heading_level: 45 # End with heading 7 (i.e. h7) @@ -224,6 +223,7 @@ exclude: - rollup.config.js - "package*.json" - ".obsidian" + - gener-favicon.sh # enabled: [categories, tags] jekyll-archives: diff --git a/_data/origin/basic.yml b/_data/origin/basic.yml index 2d52982..37112ca 100644 --- a/_data/origin/basic.yml +++ b/_data/origin/basic.yml @@ -5,8 +5,8 @@ webfonts: /assets/lib/fonts/main.css # Libraries toc: - css: /assets/lib/tocbot/tocbot.min.css - js: /assets/lib/tocbot/tocbot.min.js + css: /assets/lib/tocbot/tocbot.css + js: /assets/lib/tocbot/tocbot.js fontawesome: css: /assets/lib/fontawesome-free/css/all.min.css diff --git a/_data/origin/cors.yml b/_data/origin/cors.yml index e9bb4eb..9eab3d4 100644 --- a/_data/origin/cors.yml +++ b/_data/origin/cors.yml @@ -19,9 +19,10 @@ webfonts: https://fonts.googleapis.com/css2?family=Lato:wght@300;400&family=Sour # Libraries +# update tocbot@4.32.2 to toc: - css: https://cdn.jsdelivr.net/npm/tocbot@4.32.2/dist/tocbot.min.css - js: https://cdn.jsdelivr.net/npm/tocbot@4.32.2/dist/tocbot.min.js + css: https://cdn.jsdelivr.net/npm/tocbot@4.36.4/dist/tocbot.min.js + js: https://cdn.jsdelivr.net/npm/tocbot@4.36.4/dist/tocbot.min.js fontawesome: css: https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.7.1/css/all.min.css diff --git a/_includes/toc.html b/_includes/toc.html index 401c75e..8273c35 100644 --- a/_includes/toc.html +++ b/_includes/toc.html @@ -2,6 +2,7 @@ {% if enable_toc %} +