mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-12-18 05:41:31 +00:00
Simplified the post JS file.
This commit is contained in:
@@ -26,7 +26,6 @@ const include = [
|
||||
'{{ "/assets/js/home.min.js" | relative_url }}',
|
||||
'{{ "/assets/js/page.min.js" | relative_url }}',
|
||||
'{{ "/assets/js/post.min.js" | relative_url }}',
|
||||
'{{ "/assets/js/post-toc.min.js" | relative_url }}',
|
||||
|
||||
/*--- HTML ---*/
|
||||
|
||||
|
||||
16
assets/js/post-toc.min.js
vendored
16
assets/js/post-toc.min.js
vendored
@@ -1,16 +0,0 @@
|
||||
---
|
||||
layout: compress
|
||||
|
||||
# JS for layout post (with ToC).
|
||||
# Chirpy v2.3
|
||||
# https://github.com/cotes2020/jekyll-theme-chirpy
|
||||
# © 2020 Cotes Chung
|
||||
# MIT License
|
||||
---
|
||||
|
||||
|
||||
{% include_relative _home-post.js %}
|
||||
|
||||
{% include_relative lib/_bootstrap-toc.min.js %}
|
||||
|
||||
{% include_relative _utils/toc.js %}
|
||||
4
assets/js/post.min.js
vendored
4
assets/js/post.min.js
vendored
@@ -9,3 +9,7 @@ layout: compress
|
||||
---
|
||||
|
||||
{% include_relative _home-post.js %}
|
||||
|
||||
{% include_relative lib/_bootstrap-toc.min.js %}
|
||||
|
||||
{% include_relative _utils/toc-filter.js %}
|
||||
|
||||
Reference in New Issue
Block a user