klugjo / hexo-theme-magnetic

Adaptation of http://pixelhint.com/magnetic-free-html5-responsive-photography-website-template/ for hexo
187 stars 66 forks source link

In the post how to add external links? #10

Open vigaea opened 7 years ago

vigaea commented 7 years ago

I have two issues.I really hope that you can help me to solve problems(maybe it`s a problem for me....lol)

1.how to add the pictures' path into the post?Your example are not friendly to me.

2.In the post how to add external links?

klugjo commented 7 years ago

1) Can you give me more details on the what picture you are trying to set up ?

2) You can use standard markdown:

[Google](https://www.google.com)
vigaea commented 7 years ago

Really thanks for your help. My problem is how to add the post's cover_index and cover_detail in each post, but follow your explanation, they always show the default index page cover image and default_cover_detail. I really confusing(lol....perhaps I too dishes).

vigaea commented 7 years ago

for example:https://vigaea.github.io/2017/01/23/2017/

I put the cover_index and cover _detail's external links in the post, is right? Where should I put ?

By the way, Comments didn't work.(soory so many complains, I really love this theme )

klugjo commented 7 years ago

I think your issues are not with my theme but with the fact that you don't fully understand how hexo works.

Can you paste the postname.md file content ? I will help you figure out the right syntax

klugjo commented 7 years ago

Have you been able to solve the problem or can you send me the content of the .md file ?

I think you have an error and the content should be something like

title: 2017
cover_index: "http://ok4no33d8.bkt.clouddn.com/work1.jpg"
cover_detail: "http://ok4no33d8.bkt.clouddn.com/scape.jpg"
---

### Create a new plan

Here the rest of your content

Can you try ?

vigaea commented 7 years ago

Yes,I have been solved all the problem of the post.(lol) Happy new year!

vigaea commented 7 years ago

Oh, I'm confused in a problem that is how sort the posts. Should I set up date in the post?

klugjo commented 7 years ago

yes you can use the date to manipulate the order of the posts

vigaea commented 7 years ago

As you say, in the home page,the posts show in order,but in archives, the posts are out of order.

klugjo commented 7 years ago

That's correct, let me fix that.

On 10 Feb 2017, at 10:21 AM, vigaea notifications@github.com wrote:

As you say, in the home page,the posts show in order,but in archives, the posts are out of order.

― You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.