From 17c18eb256743c8854895c246c051c397bd73c57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BB=93=E5=8F=91=E5=8F=97=E9=95=BF=E7=94=9F?= Date: Sun, 28 Apr 2019 15:05:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8C=85=E6=96=B9=E5=BC=8F=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/yilia/layout/_partial/css.ejs | 1 + themes/yilia/layout/_partial/head.ejs | 3 +-- themes/yilia/layout/_partial/script.ejs | 2 +- themes/yilia/source-src/js/slider.js | 2 +- themes/yilia/source-src/js/waifu.js | 14 ++++++++++-- themes/yilia/source-src/template/css.html | 8 +++++++ .../{script.ejs => template/script.html} | 2 +- .../css/{extra.css => extra.5bcda5b2.css} | 0 .../css/{main.css => main.f4509ed5.css} | 0 ...78a9577afb4fddf.js => comment.005a3d19.js} | 0 ...3ad605ba4123d612db.js => main.89388b6e.js} | 0 ...3113c8272156b4bc.js => mobile.a60bf6c0.js} | 0 ...5097b8512828a2aa.js => slider.eb328173.js} | 2 +- .../source/js/waifu.9d85c4a11fee47ec966e.js | 1 - themes/yilia/source/js/waifu.be6b2520.js | 1 + themes/yilia/webpack.config.js | 22 ++++++++++--------- 16 files changed, 39 insertions(+), 19 deletions(-) create mode 100644 themes/yilia/layout/_partial/css.ejs create mode 100644 themes/yilia/source-src/template/css.html rename themes/yilia/source-src/{script.ejs => template/script.html} (80%) rename themes/yilia/source/css/{extra.css => extra.5bcda5b2.css} (100%) rename themes/yilia/source/css/{main.css => main.f4509ed5.css} (100%) rename themes/yilia/source/js/{comment.3c5be78a9577afb4fddf.js => comment.005a3d19.js} (100%) rename themes/yilia/source/js/{main.bc3ad605ba4123d612db.js => main.89388b6e.js} (100%) rename themes/yilia/source/js/{mobile.20f43113c8272156b4bc.js => mobile.a60bf6c0.js} (100%) rename themes/yilia/source/js/{slider.04cd5097b8512828a2aa.js => slider.eb328173.js} (98%) delete mode 100644 themes/yilia/source/js/waifu.9d85c4a11fee47ec966e.js create mode 100644 themes/yilia/source/js/waifu.be6b2520.js diff --git a/themes/yilia/layout/_partial/css.ejs b/themes/yilia/layout/_partial/css.ejs new file mode 100644 index 0000000..298c4c4 --- /dev/null +++ b/themes/yilia/layout/_partial/css.ejs @@ -0,0 +1 @@ +<%- css('css/main.f4509ed5.css') %> <%- css('css/extra.5bcda5b2.css') %> \ No newline at end of file diff --git a/themes/yilia/layout/_partial/head.ejs b/themes/yilia/layout/_partial/head.ejs index 40a78d3..e1a005e 100644 --- a/themes/yilia/layout/_partial/head.ejs +++ b/themes/yilia/layout/_partial/head.ejs @@ -29,8 +29,7 @@ <% if (theme.favicon){ %> <% } %> - <%- css('css/main.css') %> - <%- css('css/extra.css') %> + <%- partial('css') %>