diff --git a/layouts/_default/_markup/render-heading.html b/layouts/_default/_markup/render-heading.html
index c538473..678ab65 100644
--- a/layouts/_default/_markup/render-heading.html
+++ b/layouts/_default/_markup/render-heading.html
@@ -1,3 +1,6 @@
-
- {{ safeHTML .Text }}
-
+{{ $level := add .Level site.Params.headingoffset | math.Max 1 }}
+{{ $anchor := safeURL .Anchor }}
+
+
+ {{ safeHTML .Text }}
+