From 0c80f0b27913f76518a075a27801b5bab998e32a Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Wed, 30 Sep 2020 13:04:52 +0800 Subject: [PATCH] pref: css and js. --- .gitignore | 18 + archives.ftl | 2 +- categories.ftl | 2 +- category.ftl | 2 +- footer.ftl | 13 +- header.ftl | 3 +- inc/decorate.ftl | 19 +- index.ftl | 2 +- journals.ftl | 4 +- js/app.js | 2623 ++++++++++++++++++--------------- js/app.min.js | 2 +- layouts/imgbox.ftl | 33 +- links.ftl | 2 +- mail_template/mail_reply.ftl | 4 +- package-lock.json | 1085 ++++++++++++++ package.json | 32 + photos.ftl | 2 +- post.ftl | 2 +- search.ftl | 2 +- settings.yaml | 12 +- sheet.ftl | 2 +- sheet_links.ftl | 2 +- style.min.css | 1 - style.css => styles/style.css | 835 +++++++---- styles/style.css.map | 1 + styles/style.min.css | 1 + tag.ftl | 2 +- tags.ftl | 2 +- tpl/content-links.ftl | 2 +- tpl/content-thumb.ftl | 4 +- 30 files changed, 3174 insertions(+), 1542 deletions(-) create mode 100644 .gitignore create mode 100644 package-lock.json create mode 100644 package.json delete mode 100644 style.min.css rename style.css => styles/style.css (86%) create mode 100644 styles/style.css.map create mode 100644 styles/style.min.css diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..67822b5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,18 @@ +target/ +.settings/ +.classpath +bin/ +.mymetadata +.project +.externalToolBuilders/ +.tern-project +*.bak + +#IDEA +.idea +*.iml +*rebel.xml +.flattened-pom.xml +.factorypath + +node_modules \ No newline at end of file diff --git a/archives.ftl b/archives.ftl index 2dc30a8..cd15e98 100644 --- a/archives.ftl +++ b/archives.ftl @@ -7,7 +7,7 @@
- +

文章归档

diff --git a/categories.ftl b/categories.ftl index 603f619..27596ae 100644 --- a/categories.ftl +++ b/categories.ftl @@ -11,7 +11,7 @@
- +

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

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

分类:${category.name!}

diff --git a/footer.ftl b/footer.ftl index 16d24ca..83eb805 100644 --- a/footer.ftl +++ b/footer.ftl @@ -17,12 +17,13 @@ <#elseif is_sheet??> <@comment sheet,"sheet" /> +<#assign cdn_base_url="https://cdn.jsdelivr.net/gh/LIlGG/cdn@1.0.8"/>