mirror of https://github.com/istio/istio.io.git
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:
parent
8d0d7bf6a7
commit
fc14b01309
|
@ -59,7 +59,7 @@
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{- if (hasPrefix $text " ") -}}
|
{{- 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 -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{- if $snippet -}}
|
{{- if $snippet -}}
|
||||||
|
|
|
@ -264,7 +264,7 @@ h6 {
|
||||||
|
|
||||||
@media screen {
|
@media screen {
|
||||||
.self-link {
|
.self-link {
|
||||||
display: unset;
|
display: inline;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue