Fix a couple bugs. (#6313)

- Set the right style for the auto-inserted header links. Without this,
they didn't render correctly with the Edge browser.

- Fix broken Hugo error message, leading to broken builds if
encountered.

Co-authored-by: Martin Taillefer <geeknoid@users.noreply.github.com>
This commit is contained in:
Istio Automation 2020-01-08 07:43:55 -08:00 committed by Martin Taillefer
parent 8d0d7bf6a7
commit fc14b01309
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@
{{- end -}}
{{- if (hasPrefix $text " ") -}}
{{- errorf "Text blocks need to not be indented, or indented by a multiple of 4 spaces (%s)" .Page.Position -}}
{{- errorf "Text blocks need to not be indented, or indented by a multiple of 4 spaces (%s)" .Position -}}
{{- end -}}
{{- if $snippet -}}

View File

@ -264,7 +264,7 @@ h6 {
@media screen {
.self-link {
display: unset;
display: inline;
}
}