ubuntu.com icon indicating copy to clipboard operation
ubuntu.com copied to clipboard

Two previous and two next pages

Open nobuto-m opened this issue 2 years ago • 3 comments

Go to the following page: https://ubuntu.com/security/certifications/docs/2204/disa-stig/installation and scroll down.

There are two previous pages and two next pages and those confuse users as a navigation.

  • Previous DISA-STIG compliance
  • Previous Ubuntu Security Guide
  • Next CIS compliance
  • Next Audit

image


Reported from: https://ubuntu.com/security/certifications/docs/2204/disa-stig/installation

nobuto-m avatar May 31 '23 09:05 nobuto-m

Duplicate of #12386

fitojb avatar Jun 10 '23 04:06 fitojb

@petesfrench Can you have a look please, could it be related to how the Discourse post is being pulled?

britneywwc avatar Jul 23 '24 08:07 britneywwc

@britneywwc this is caused by a duplicate navlink in the navigation table found in the /security/certifications index topic: https://discourse.ubuntu.com/t/security-compliance-certifications-for-20-04/22810. Both 'usg/installation' and 'disa-stig/installation' link to https://discourse.ubuntu.com/t/ubuntu-security-guide-installation/26081. So there are essentially 2 active pages and thus two 'previous' and 'next' links. I can think of 2 ways we can deal with this:

  1. ask the maintainer to create a page for that link
  2. re-factor the jinja template to be able to handle this edge case

As you are no longer on support, maybe @immortalcodes can handle this?

petesfrench avatar Jul 30 '24 10:07 petesfrench