Fix a couple bugs. (#6311)

- 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.
This commit is contained in:
Martin Taillefer 2020-01-08 07:24:04 -08:00 committed by GitHub
parent 0eb6fae123
commit 4ee8fc927a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;
}
}