Github-Pages-Example icon indicating copy to clipboard operation
Github-Pages-Example copied to clipboard

hi, wanna to ask github pages question~

Open arthur503 opened this issue 11 years ago • 5 comments

hi, I have seen your blog on how to build a blog with github pages, it's very useful and thanks a lot!

I have managed to have my test blog now, check "arthur503.github.io/blog/" if you want.

Since github and jekyll is very new to me, it take me a lot time(2 and more days) until did it, but there are still some questions that i can't find answers on the web, like:

  1. how to have chinese character in filename of dir _posts without "Pages build failed" error(it's really annoying)?
  2. how to use default js, img, stylesheet effect of default page for POSTs(it's easy for index.html. but i can not use them in _posts folders ), i tried to put these folder in _posts dir, but it doesnot work; then tried to revise defaut.html in _layout, but still the js(and css?) does not work for my posts in _posts dir.
  3. i wonder how to mange more than one folders in _posts(just like you have blog, opinion, and project. )? how to recogize them in index.html? i wanna to tranverse these folders and add them to different part on my index.html, how to do that?

At last, thanks for your blog and it will be a great honor if you can answer my questions!

Best wishes!

Arthur

arthur503 avatar Sep 13 '13 04:09 arthur503

hi, i have checked the blog again and find out to solve the 3rd question i should learn jekyll "category", wow... and i followed the instructions and solved that. so, only the 1st and 2nd questions left.

arthur503 avatar Sep 14 '13 17:09 arthur503

1、I don't think Jekyll support for Chinese character 2、Do not understand the situation you described, why not use Chinese?

beiyuu avatar Sep 16 '13 02:09 beiyuu

多谢回答! 在英文网站上很容易转换成英文思维,所以问问题的时候直接就用英语了。。 第二个问题想问的是如何使在_posts文件夹下的文件也使用index.html那样的javascript css效果?我之前没做过js,css方面的东西,所以看起来比较吃力。我尝试着使用与index.html一样的html代码来调用,以及把javascript,css文件夹放到_posts文件夹内,或者修改_layout文件夹下的default.html文件,但是好像都没有效果。

arthur503 avatar Sep 17 '13 13:09 arthur503

额,js和css不是你理解的那样

所以,建议看一些HTML、JS、CSS基础的文章,你会明白的。

beiyuu avatar Sep 18 '13 03:09 beiyuu

(⊙o⊙)…,好吧,果然还是逃脱不了看js,css的命运,等不忙了好好看一下再整理吧~~Thanks again!

arthur503 avatar Sep 18 '13 03:09 arthur503