From 4ee8fc927aad53ea8444f5384d75e74f4885c0e2 Mon Sep 17 00:00:00 2001 From: Martin Taillefer Date: Wed, 8 Jan 2020 07:24:04 -0800 Subject: [PATCH] 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. --- layouts/partials/code_block.html | 2 +- src/sass/base/_base.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/code_block.html b/layouts/partials/code_block.html index 830ef555e3..be87f190b7 100644 --- a/layouts/partials/code_block.html +++ b/layouts/partials/code_block.html @@ -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 -}} diff --git a/src/sass/base/_base.scss b/src/sass/base/_base.scss index dcd1dccfb1..3b536f450a 100644 --- a/src/sass/base/_base.scss +++ b/src/sass/base/_base.scss @@ -264,7 +264,7 @@ h6 { @media screen { .self-link { - display: unset; + display: inline; } }