ppoffice / hexo-theme-icarus

A simple, delicate, and modern theme for the static site generator Hexo.
https://ppoffice.github.io/hexo-theme-icarus/
MIT License
6.4k stars 1.55k forks source link

部署之后与本地显示不一致 #528

Closed l5554440 closed 5 years ago

l5554440 commented 5 years ago

本地上预览正常,部署到VPS上显示混乱。 部署的时候有警告

INFO  Checking dependencies
INFO  Validating the configuration file
INFO  Deploying: git
INFO  Clearing .deploy_git folder...
INFO  Copying files from public folder...
INFO  Copying files from extend dirs...
warning: LF will be replaced by CRLF in 2019/09/07/hello-world/index.html.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in 2019/09/07/javascript/index.html.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in about/index.html.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in archives/2019/09/index.html.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in archives/2019/index.html.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in archives/index.html.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in categories/JavaScript/index.html.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in categories/index.html.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in css/back-to-top.css.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in css/insight.css.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in css/progressbar.css.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in css/search.css.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in css/style.css.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in index.html.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in js/animation.js.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in js/back-to-top.js.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in js/gallery.js.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in js/insight.js.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in js/main.js.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in search.xml.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in tags/JavaScript/index.html.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in tags/Note/index.html.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in tags/index.html.
The file will have its original line endings in your working directory
[master ae3745e] Site updated: 2019-09-07 15:37:05
 122 files changed, 535 insertions(+), 11735 deletions(-)
 delete mode 100644 css/fonts/FontAwesome.otf
 delete mode 100644 css/fonts/fontawesome-webfont.eot
 delete mode 100644 css/fonts/fontawesome-webfont.svg
 delete mode 100644 css/fonts/fontawesome-webfont.ttf
 delete mode 100644 css/fonts/fontawesome-webfont.woff
 delete mode 100644 css/gitment.css
 delete mode 100644 css/images/banner.jpg
 delete mode 100644 css/matery.css
 delete mode 100644 css/my-gitalk.css
 delete mode 100644 css/my.css
 rewrite css/style.css (94%)
 delete mode 100644 fancybox/blank.gif
 delete mode 100644 fancybox/fancybox_loading.gif
 delete mode 100644 fancybox/fancybox_loading@2x.gif
 delete mode 100644 fancybox/fancybox_overlay.png
 delete mode 100644 fancybox/fancybox_sprite.png
 delete mode 100644 fancybox/fancybox_sprite@2x.png
 delete mode 100644 fancybox/helpers/fancybox_buttons.png
 delete mode 100644 fancybox/helpers/jquery.fancybox-buttons.css
 delete mode 100644 fancybox/helpers/jquery.fancybox-buttons.js
 delete mode 100644 fancybox/helpers/jquery.fancybox-media.js
 delete mode 100644 fancybox/helpers/jquery.fancybox-thumbs.css
 delete mode 100644 fancybox/helpers/jquery.fancybox-thumbs.js
 delete mode 100644 fancybox/jquery.fancybox.css
 delete mode 100644 fancybox/jquery.fancybox.js
 delete mode 100644 fancybox/jquery.fancybox.pack.js
 delete mode 100644 favicon.png
 delete mode 100644 js/matery.js
 delete mode 100644 js/script.js
 delete mode 100644 js/search.js
 delete mode 100644 libs/animate/animate.min.css
 delete mode 100644 libs/aos/aos.css
 delete mode 100644 libs/aos/aos.js
 delete mode 100644 libs/aplayer/APlayer.min.css
 delete mode 100644 libs/aplayer/APlayer.min.js
 delete mode 100644 libs/awesome/css/font-awesome.min.css
 delete mode 100644 libs/awesome/fonts/FontAwesome.otf
 delete mode 100644 libs/awesome/fonts/fontawesome-webfont.eot
 delete mode 100644 libs/awesome/fonts/fontawesome-webfont.svg
 delete mode 100644 libs/awesome/fonts/fontawesome-webfont.ttf
 delete mode 100644 libs/awesome/fonts/fontawesome-webfont.woff
 delete mode 100644 libs/awesome/fonts/fontawesome-webfont.woff2
 delete mode 100644 libs/cryptojs/crypto-js.min.js
 delete mode 100644 libs/dplayer/DPlayer.min.css
 delete mode 100644 libs/dplayer/DPlayer.min.js
 delete mode 100644 libs/echarts/echarts.min.js
 delete mode 100644 libs/gitalk/gitalk.css
 delete mode 100644 libs/gitalk/gitalk.min.js
 delete mode 100644 libs/gitment/gitment-default.css
 delete mode 100644 libs/gitment/gitment.js
 delete mode 100644 libs/jqcloud/jqcloud-1.0.4.min.js
 delete mode 100644 libs/jqcloud/jqcloud.css
 delete mode 100644 libs/jquery/jquery-2.2.0.min.js
 delete mode 100644 libs/lightGallery/css/lightgallery.min.css
 delete mode 100644 libs/lightGallery/fonts/lg.eot
 delete mode 100644 libs/lightGallery/fonts/lg.svg
 delete mode 100644 libs/lightGallery/fonts/lg.ttf
 delete mode 100644 libs/lightGallery/fonts/lg.woff
 delete mode 100644 libs/lightGallery/img/loading.gif
 delete mode 100644 libs/lightGallery/img/video-play.png
 delete mode 100644 libs/lightGallery/img/vimeo-play.png
 delete mode 100644 libs/lightGallery/img/youtube-play.png
 delete mode 100644 libs/lightGallery/js/lightgallery-all.min.js
 delete mode 100644 libs/masonry/masonry.pkgd.min.js
 delete mode 100644 libs/materialize/materialize.min.css
 delete mode 100644 libs/materialize/materialize.min.js
 delete mode 100644 libs/others/busuanzi.pure.mini.js
 delete mode 100644 libs/others/clicklove.js
 delete mode 100644 libs/scrollprogress/scrollProgress.min.js
 delete mode 100644 libs/share/css/share.min.css
 delete mode 100644 libs/share/fonts/iconfont.eot
 delete mode 100644 libs/share/fonts/iconfont.svg
 delete mode 100644 libs/share/fonts/iconfont.ttf
 delete mode 100644 libs/share/fonts/iconfont.woff
 delete mode 100644 libs/share/js/jquery.share.min.js
 delete mode 100644 libs/share/js/social-share.min.js
 delete mode 100644 libs/tocbot/tocbot.css
 delete mode 100644 libs/tocbot/tocbot.min.js
 delete mode 100644 libs/valine/Valine.min.js
 delete mode 100644 libs/valine/av-min.js
 delete mode 100644 medias/avatar.jpg
 delete mode 100644 medias/banner/0.jpg
 delete mode 100644 medias/banner/1.jpg
 delete mode 100644 medias/banner/2.jpg
 delete mode 100644 medias/banner/3.jpg
 delete mode 100644 medias/banner/4.jpg
 delete mode 100644 medias/banner/5.jpg
 delete mode 100644 medias/banner/6.jpg
 delete mode 100644 medias/cover.jpg
 delete mode 100644 medias/featureimages/0.jpg
 delete mode 100644 medias/featureimages/1.jpg
 delete mode 100644 medias/featureimages/10.jpg
 delete mode 100644 medias/featureimages/11.jpg
 delete mode 100644 medias/featureimages/12.jpg
 delete mode 100644 medias/featureimages/13.jpg
 delete mode 100644 medias/featureimages/14.jpg
 delete mode 100644 medias/featureimages/15.jpg
 delete mode 100644 medias/featureimages/16.jpg
 delete mode 100644 medias/featureimages/17.jpg
 delete mode 100644 medias/featureimages/18.jpg
 delete mode 100644 medias/featureimages/19.jpg
 delete mode 100644 medias/featureimages/2.jpg
 delete mode 100644 medias/featureimages/20.jpg
 delete mode 100644 medias/featureimages/21.jpg
 delete mode 100644 medias/featureimages/22.jpg
 delete mode 100644 medias/featureimages/23.jpg
 delete mode 100644 medias/featureimages/3.jpg
 delete mode 100644 medias/featureimages/4.jpg
 delete mode 100644 medias/featureimages/5.jpg
 delete mode 100644 medias/featureimages/6.jpg
 delete mode 100644 medias/featureimages/7.jpg
 delete mode 100644 medias/featureimages/8.jpg
 delete mode 100644 medias/featureimages/9.jpg
 delete mode 100644 medias/logo.png
 delete mode 100644 medias/reward/alipay.jpg
 delete mode 100644 medias/reward/wechat.png
Enter passphrase for key '/c/Users/kwndds/.ssh/id_rsa':
Enumerating objects: 33, done.
Counting objects: 100% (33/33), done.
Delta compression using up to 12 threads
Compressing objects: 100% (14/14), done.
Writing objects: 100% (17/17), 3.73 KiB | 1.86 MiB/s, done.
Total 17 (delta 9), reused 0 (delta 0)
To 101.132.190.130:/var/repo/hexo_static
   0ec83b9..ae3745e  HEAD -> master
Branch 'master' set up to track remote branch 'master' from 'root@101.132.190.130:/var/repo/hexo_static'.
INFO  Deploy done: git

本地和VPS上F12可以看到一样的错误

Unchecked runtime.lastError: The message port closed before a response was received.(index):1

index的第一行是<!DOCTYPE html>

l5554440 commented 5 years ago

对不起,清除浏览器缓存就好了。