Page MenuHomeFreeBSD

Synch site navigation to cgi-style.pl
Needs ReviewPublic

Authored by grembo on Jan 27 2021, 10:15 AM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 1 2024, 12:14 AM
Unknown Object (File)
Nov 18 2023, 10:53 PM
Unknown Object (File)
Nov 7 2023, 10:03 AM
Unknown Object (File)
Nov 5 2023, 4:43 AM
Unknown Object (File)
Oct 6 2023, 8:57 AM
Unknown Object (File)
Oct 4 2023, 4:40 AM
Unknown Object (File)
May 10 2023, 7:40 PM
Unknown Object (File)
Apr 25 2023, 12:28 AM
Subscribers

Details

Reviewers
carlavilla
Group Reviewers
doceng
Summary

This will make man.cgi, ports.cgi etc., show the same navigation as the other
pages (labels changed, new menu items, dead links).

Someone needs to create a real solution, but this will fix the immediate
problem.

Test Plan

I couldn't test, as man.cgi isn't server by gohugo and I didn't
spend the time to figure out how to make man.cgi work locally.

Diff Detail

Repository
R9 FreeBSD doc repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 36529
Build 33418: arc lint + arc unit

Event Timeline

grembo created this revision.

You can reproduce the problem easily by going to:

And look at the navigation (quite different from what's going on at the rest of the site).

Example screenshot of the development menu on https://www.freebsd.org:

Screen Shot 2021-01-31 at 16.40.01.png (628×428 px, 60 KB)

vs. https://www.freebsd.org/cgi/ports.cgi:

Screen Shot 2021-01-31 at 16.39.48.png (230×356 px, 22 KB)

Sorry, I put the comment in spanish hehehehe

Thanks for the patch, but before making the commit to the repo we need to think how to deploy the cgi scripts in the new jail

Sorry, I put the comment in spanish hehehehe

Thanks for the patch, but before making the commit to the repo we need to think how to deploy the cgi scripts in the new jail

Any news/updates? Anything I can do to help?

@lwhsu I see that the git repo was added to CGIs in the meantime (which is good), but the remainder of the navigation remains out of synch with what's on the main web site.

I'm wondering if it wouldn't make more sense to pull in navigation from a central place (using some modern web technology), so it's always automatically in synch with what's coming out of hugo.