icaps25 / icaps25.github.io

Website for ICAPS 2025
Creative Commons Zero v1.0 Universal
0 stars 3 forks source link

News widget does not appear in landing page #23

Closed nirlipo closed 1 month ago

nirlipo commented 1 month ago

Right windows panel does not appear in https://icaps25.icaps-conference.org/ but appears only if you click in home link, which takes you to: https://icaps25.icaps-conference.org/home/

nirlipo commented 1 month ago

@dharabor The only fix I can think of is to ask that the DNS https://icaps25.icaps-conference.org/ points to https://icaps25.icaps-conference.org/home/

I'm not sure how to change it otherwise. I think this is where you specify where it should be shown and this is hugo's documentation.

dharabor commented 1 month ago

Do you mean the news sidebar? that's working as intended. Only on the homepage. for the other pages we have more space for content.

I tried it the other way, with a global sidebar, but it seemed worse

-- https://harabor.net/daniel

-------- Original Message -------- On 16/9/24 16:10, Nir wrote:

Right windows panel does not appear in https://icaps25.icaps-conference.org/ but appears only if you click in home link, which takes you to: https://icaps25.icaps-conference.org/home/

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were assigned.Message ID: @.***>

dharabor commented 1 month ago

Oh, I see what you mean. OK, on it.

dharabor commented 1 month ago

Submitted a PR for this one https://github.com/icaps25/icaps25.github.io/pull/24

We had a small mis-configuration of the theme.

dharabor commented 1 month ago

To add a bit more detail: Hugo has two options for enabling the news sidebar. (1) Via the site-wide config.toml (2) Via the frontmatter of the relevant page sidebar: recent

I set option (2) but was missing (1). It's weird because the same content page is parsed no matter how it is accessed. Based on my current understanding, I feel this is a borderline bug in Hugo.

nirlipo commented 1 month ago

Awesome! Great detective work :)