LouisBarranqueiro / hexo-theme-tranquilpeak

:lipstick: A gorgeous responsive theme for Hexo blog framework
https://louisbarranqueiro.github.io/hexo-theme-tranquilpeak/
GNU General Public License v3.0
1.85k stars 484 forks source link

theme install #4

Closed iPonyo closed 9 years ago

iPonyo commented 9 years ago

Your theme is very beautiful! But, I have a problem, deploy the blog to the GitHub, without any style and JS files , the state is 404. please help me ! my blog address: http://iponyo.github.io/ Thanks !

LouisBarranqueiro commented 9 years ago

Thank you! :) Which version did you have download? Production version already built or development version?
I guess that you have downloaded the development version because you have several asset files linked.

<!--STYLES-->
    <link rel="stylesheet" href="/assets/css/font-awesome.css" type="text/css">
    <link rel="stylesheet" href="/assets/css/jquery.fancybox.css" type="text/css">
    <link rel="stylesheet" href="/assets/css/jquery.fancybox-thumbs.css" type="text/css">
    <link rel="stylesheet" href="/assets/css/tranquil-peak.css" type="text/css">
<!--STYLES END-->

In production, there is only 1 minified files for CSS and an other for JS.

<!--STYLES-->
    <link rel="stylesheet" href="/tranquilpeak-hexo-theme/assets/css/style.min.css" type="text/css">
<!--STYLES END-->

If you don't want to change the theme (views, CSS and JS), download the built version ready for production. If you want to change the theme, you have to build it with grunt tasks. Please read Developer documentation for this.

iPonyo commented 9 years ago

Hi ! As you known, i dowloaded development version ! Thanks for your help ! My blog is working ! Good luck !