/* Stop headings from appearing as links when 'contents' is used */
h2 a {
    color: inherit;
    text-decoration: none;
}

/* Stop headings from appearing as links when 'contents' is used */
h2 a, h2 a:hover {
    color: inherit;
    text-decoration: none;
}

Stop headings appearing as links when hovering
Stop headings appearing as links when hovering
