This is how I added a link from ERDDAP dataset pages to the results of the IOOS Compliance checker for that page.
Example: https://data.cioospacific.ca/erddap/tabledap/BCSOP_daily.html, see "Compliance Results" link in top right corner
Editing erddap's setup.xml file, this goes in <startHeadHtml5>/<head>
: