diff --git a/.bowerrc b/.bowerrc new file mode 100644 index 0000000..482ddd4 --- /dev/null +++ b/.bowerrc @@ -0,0 +1,8 @@ +{ + "directory": "source/lib", + "json": "./bower.json", + "ignoredDependencies": [ + "ev-emitter", + "jquery" + ] +} \ No newline at end of file diff --git a/404.ftl b/404.ftl index 1585fbc..ffd9317 100644 --- a/404.ftl +++ b/404.ftl @@ -44,7 +44,7 @@ the_dom = the_dom.substring(0, the_port_index) } - + diff --git a/README.md b/README.md index c2dee6e..1374776 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ DEMO:[https://lixingyong.com/](https://lixingyong.com/) - [x] 代码高亮,且实现仿Mac - [x] 自定义评论 - [x] 文章目录 -- [x] 主题切换 +- [x] 主题切换(支持页面模式) - [x] 友链页面 - [x] 移动客户端适配 - [x] 404 页面 diff --git a/archives.ftl b/archives.ftl index cd15e98..ede02c4 100644 --- a/archives.ftl +++ b/archives.ftl @@ -7,7 +7,7 @@
- +

文章归档

diff --git a/bower.json b/bower.json new file mode 100644 index 0000000..0dd5a79 --- /dev/null +++ b/bower.json @@ -0,0 +1,29 @@ +{ + "name": "takagi-sakura", + "main": "index.js", + "authors": [ + "takagi " + ], + "license": "ISC", + "homepage": "https://github.com/LIlGG/halo-theme-sakura", + "ignore": [ + "**/.*", + "node_modules", + "bower_components", + "source/lib", + "test", + "tests", + "src" + ], + "dependencies": { + "flv.min": "https://github.com/bilibili/flv.js/releases/download/v1.5.0/flv.min.js", + "isotope.pkgd.min": "https://unpkg.com/isotope-layout@3/dist/isotope.pkgd.min.js", + "jquery.justifiedGallery.min": "https://github.com/miromannino/Justified-Gallery/blob/master/dist/js/jquery.justifiedGallery.min.js", + "imagesloaded": "^4.1.4", + "packery-mode.pkgd.min": "https://github.com/metafizzy/isotope-packery/blob/master/packery-mode.pkgd.min.js", + "APlayer.min": "https://github.com/MoePlayer/APlayer/blob/master/dist/APlayer.min.js", + "tocbot": "^4.12.0", + "jquery-ui": "^1.12.1", + "v1.10": "https://github.com/MoePlayer/APlayer/releases/tag/v1.10.1" + } +} diff --git a/categories.ftl b/categories.ftl index 27596ae..a7d2ed1 100644 --- a/categories.ftl +++ b/categories.ftl @@ -11,7 +11,7 @@
- +

${options.categories_title?default('文章分类')}

diff --git a/category.ftl b/category.ftl index 8fcbe3b..7dc6430 100644 --- a/category.ftl +++ b/category.ftl @@ -7,7 +7,7 @@
- +

分类:${category.name!}

diff --git a/footer.ftl b/footer.ftl index ca092c2..61c4ed6 100644 --- a/footer.ftl +++ b/footer.ftl @@ -9,6 +9,7 @@ * @package Akina */ --> +<#global res_base_url = settings.cdn?then("//cdn.jsdelivr.net/gh/LIlGG/halo-theme-sakura@1.2.1", theme_base)/> <#macro footer>
<#include "comments.ftl"> @@ -17,13 +18,12 @@ <#elseif is_sheet??> <@comment sheet,"sheet" /> -<#assign cdn_base_url="https://cdn.jsdelivr.net/gh/LIlGG/cdn@1.0.8"/>