Skip to content

Conversation

@janhoy
Copy link
Contributor

@janhoy janhoy commented Nov 18, 2025

Introduce a common "Posts" page that lists all News, Security-news and Blog posts chronologically.

The page will be the only one linked in the header menu.
It will have links to (existing) news.html and blog.html on the top.
Clicking a title on the posts list will bring you to the existing location of the post/blog, so no broken links.
The posts page has pagination.

New page:
Skjermbilde 2025-11-18 kl  08 53 40
Existing blog page (with a back link):
Skjermbilde 2025-11-18 kl  08 53 53
Existing news page (with a back link):
Skjermbilde 2025-11-18 kl  08 54 05

@janhoy
Copy link
Contributor Author

janhoy commented Nov 18, 2025

I considered also folding in the "SECURITY" menu here, but that one is more than just security posts.
What we could consider is

  • Add a new security-new.html page, and add a link to it on the new "Posts" page
  • Remove the posts at the end of security.html, and instead add a link to the new security-news page. It only displayed the last 20 anyway

@dsmiley
Copy link
Contributor

dsmiley commented Nov 18, 2025

Nice work Jan!

Copy link
Contributor

@gerlowskija gerlowskija left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code for this all looks great!

The only feedback I'd offer is on the naming: I don't think "Posts" is terribly clear as an entry in the header-bar or as the title for the umbrella page. Wdyt of maybe "Announcements" or even keeping "News" as the umbrella page title? (If we keep "News" as the umbrella term, the "sub-content-types" could be "Announcements" and "Blog Posts")

+1 - regardless of whatever names we end up landing on.

@janhoy
Copy link
Contributor Author

janhoy commented Nov 30, 2025

The only feedback I'd offer is on the naming: I don't think "Posts" is terribly clear as an entry in the header-bar or as the title for the umbrella page. Wdyt of maybe "Announcements" or even keeping "News" as the umbrella page title? (If we keep "News" as the umbrella term, the "sub-content-types" could be "Announcements" and "Blog Posts")

It would be a bit weird if the menu says "News" but the page name is posts.html, and if we rename the sub cateogry "News" to "Announcements" it would be (a bit) weird to keep news.html. And I don't want to break existing URLs, so I deliberately kept news.html, security.html unchanged and added posts.html.

I agree that "Posts" is not the best name.

Are you folks OK with using a different name in menu than in URL? I.e. label the menu "News", even if the page you land on is not called "news" and contains sub menus "Announcements", "Security", "Blog", where the announcements page has news.html in url?

@gerlowskija
Copy link
Contributor

It would be a bit weird if the menu says "News" but the page name is posts.html, [...] Are you folks OK with using a different name in menu than in URL?

I see what you mean; that is kindof "weird" and I wasn't really thinking about the link-breaking problem when I suggested the above.

I'd be 👍 with the alternative you suggested (where the menu name doesn't strictly match the URL). Though if someone with more web experience comes in to say that's a bad idea, I'd defer to their experience. I'm pretty out of my element here.

@dsmiley
Copy link
Contributor

dsmiley commented Dec 1, 2025

"Feed" instead of "Posts"?

FWIW I'm indifferent, and +1 to either path described above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants