YunYouJun / yunyoujun.github.io

🌐 云游君的小站,一个自言自语的地方。
https://yunyoujun.cn
Creative Commons Attribution 4.0 International
149 stars 139 forks source link

How to post #90

Closed lawbyte closed 4 years ago

lawbyte commented 4 years ago

Command for post in _posts/share

If I want to post in _posts Command : hexo new post "title"

And I want to post in _posts/share Command : ??

And then, I want to change the home page on themes starry, how I can change ? I want to change on the title home page

Thanks :*

YunYouJun commented 4 years ago

share folder is my custom folder. You can hexo new post "title". Then drag title.md to your custom folder(You can also name it something else). Of course, you can also not use custom folders.

If you want to change theme starry, you can see some code in https://github.com/YunYouJun/hexo-theme-starry/tree/master/layout. You can clone it and custom it, put it in themes. Of course, PR for hexo-theme-starry is welcome.

lawbyte commented 4 years ago

2019_12_23_12_09_21 I want to change this .. But I don't know how I can change

lawbyte commented 4 years ago

And I want to change a background in this themes

YunYouJun commented 4 years ago

Index banner code is here. If you just want to change title, you can set title in here.

You can change background here. Or add

ui:
  bg_image:
    enable: true
    url: https://cdn.jsdelivr.net/gh/YunYouJun/cdn/img/bg/alice-kirito-eugeo.jpg

in source/_data/starry.yml.

lawbyte commented 4 years ago

Ok thanks, but I want to change text to.. 2019_12_23_13_30_44

YunYouJun commented 4 years ago

Change text(title) here.

This is mainly for Chinese characters.

lawbyte commented 4 years ago

I just changed it, but there is no change there

YunYouJun commented 4 years ago

I am sorry. You should change it here.

Or add

banner: Your TItle

in source/_data/starry.yml.

lawbyte commented 4 years ago

Screenshot_20191223-134228-picsay Ok thank you very much, but i want to add icon Facebook, and whatsapp, I know where is the file location.. Just I want to add css file in this navbar, for add icon.. But how I can add css link in this project?

lawbyte commented 4 years ago

Solved, thanks

YunYouJun commented 4 years ago

OK, good luck. I will close it. If you have any questions about it, you can reopen it.

lawbyte commented 4 years ago

Sorry, in source/css I don't find file css in here.. Where the css file?