eueung / hugo-casper-two

Port of Casper 2.x to Hugo
MIT License
141 stars 116 forks source link

singleViewStyle = "caspertwo" does not show categories #13

Closed srigurubyo closed 6 years ago

srigurubyo commented 6 years ago

Setting singleViewStyle = "caspertwo" doesn't show categories and I get blank page. Any clue?

However singleViewStyle = "caspertwo" shows them properly.

srigurubyo commented 6 years ago

Sorry closed this by mistake.

shnek commented 6 years ago

Can you elaborate more on this issue? You said that setting singleViewStyle to the same "caspertwo" does two different things. What is the blank page you get, the post page or index page?

srigurubyo commented 6 years ago

setting it as casper shows categories properly.

However setting it as caspertwo does not show any categories on the URL /categories.

Hope I am clear now.

Thanks a lot for your kind response.

On Fri, Apr 27, 2018, 9:04 PM shnek notifications@github.com wrote:

Can you elaborate more on this issue? You said that setting singleViewStyle to the same "caspertwo" does two different things. What is the blank page you get, the post page or index page?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/eueung/hugo-casper-two/issues/13#issuecomment-385007168, or mute the thread https://github.com/notifications/unsubscribe-auth/AKRj2Cp_0pSLoZtC3pqgA_3Wn9pOjGQ1ks5tszp7gaJpZM4Tjemq .

shnek commented 6 years ago

@srigurubyo Thank you for the explanation. I was able to reproduce the issue. I have forked this repository and worked on the fix for that. I just ported the same taxonomy page (which you can see in the "casper" theme) to caspertwo. I have also created a pull request to have that changes merged into the main repository. If you want to check out the modified theme, here is the link: https://github.com/shnek/hugo-casper-two/tree/Taxonomy-fix If you have any further questions feel free to ask and I'll do my best to answer them.

srigurubyo commented 6 years ago

Great, thanks a lot.

Special thanks to you for making this wonderful theme!

All the best wishes

On Mon, Apr 30, 2018, 7:19 PM shnek notifications@github.com wrote:

@srigurubyo https://github.com/srigurubyo Thank you for the explanation. I was able to reproduce the issue. I have forked this repository and worked on the fix for that. I just ported the same taxonomy page (which you can see in the "casper" theme) to caspertwo. I have also created a pull request to have that changes merged into the main repository. If you want to check out the modified theme, here is the link: https://github.com/shnek/hugo-casper-two/tree/Taxonomy-fix If you have any further questions feel free to ask and I'll do my best to answer them.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/eueung/hugo-casper-two/issues/13#issuecomment-385403357, or mute the thread https://github.com/notifications/unsubscribe-auth/AKRj2DfxJ3ctcAchpsbMnpb0cVsip2VIks5ttxZngaJpZM4Tjemq .

srigurubyo commented 6 years ago

@shnek, I have another query/request regarding this theme.

Is there a way we can assign individual weights to posts (tags) or categories to display them in a particular order?

Say, I want xyz to appear first always.

(PS: I have created another separate issue for this, please free to close that if you feel so.)

shnek commented 6 years ago

Since you created a separate issue, I commented my findings on that thread. If you have any further questions, I'd be glad to answer them there!

srigurubyo commented 6 years ago

Thank you @shnek

Really appreciate the time taken to answer my queries and the help provided.

Best wishes!