{{- $hash := or .Hash "" -}} {{- $pageContext := .Context -}} tab-bar a[href$="{{- $pageContext.RelPermalink -}}"], tab-bar a[href$="{{- print $pageContext.RelPermalink $hash -}}"] { opacity: 1; color: #111; color: var(--foreground); font-weight: 700; text-decoration-color: #014cc6; text-decoration-color: var(--link); text-decoration: underline; border-bottom: 2px solid var(--background); }