diff --git a/src/mkdocstrings_handlers/python/templates/material/_base/docstring/attributes.html b/src/mkdocstrings_handlers/python/templates/material/_base/docstring/attributes.html
index 9c80b82..9a1409c 100644
--- a/src/mkdocstrings_handlers/python/templates/material/_base/docstring/attributes.html
+++ b/src/mkdocstrings_handlers/python/templates/material/_base/docstring/attributes.html
@@ -49,7 +49,7 @@
- ATTRIBUTE |
+ {{ (section.title or "ATTRIBUTE").rstrip(":").upper() }} |
DESCRIPTION |
diff --git a/src/mkdocstrings_handlers/python/templates/material/_base/docstring/other_parameters.html b/src/mkdocstrings_handlers/python/templates/material/_base/docstring/other_parameters.html
index 9a42d41..4b9f733 100644
--- a/src/mkdocstrings_handlers/python/templates/material/_base/docstring/other_parameters.html
+++ b/src/mkdocstrings_handlers/python/templates/material/_base/docstring/other_parameters.html
@@ -49,7 +49,7 @@
- PARAMETER |
+ {{ (section.title or "PARAMETER").rstrip(":").upper() }} |
DESCRIPTION |
diff --git a/src/mkdocstrings_handlers/python/templates/material/_base/docstring/parameters.html b/src/mkdocstrings_handlers/python/templates/material/_base/docstring/parameters.html
index 6665dd7..cc95459 100644
--- a/src/mkdocstrings_handlers/python/templates/material/_base/docstring/parameters.html
+++ b/src/mkdocstrings_handlers/python/templates/material/_base/docstring/parameters.html
@@ -59,7 +59,7 @@
- PARAMETER |
+ {{ (section.title or "PARAMETER").rstrip(":").upper() }} |
DESCRIPTION |
diff --git a/src/mkdocstrings_handlers/python/templates/material/_base/docstring/raises.html b/src/mkdocstrings_handlers/python/templates/material/_base/docstring/raises.html
index 5d02fd3..32ad350 100644
--- a/src/mkdocstrings_handlers/python/templates/material/_base/docstring/raises.html
+++ b/src/mkdocstrings_handlers/python/templates/material/_base/docstring/raises.html
@@ -47,7 +47,7 @@
- RAISES |
+ {{ (section.title or "RAISES").rstrip(":").upper() }} |
DESCRIPTION |
diff --git a/src/mkdocstrings_handlers/python/templates/material/_base/docstring/receives.html b/src/mkdocstrings_handlers/python/templates/material/_base/docstring/receives.html
index 61f2b48..7946329 100644
--- a/src/mkdocstrings_handlers/python/templates/material/_base/docstring/receives.html
+++ b/src/mkdocstrings_handlers/python/templates/material/_base/docstring/receives.html
@@ -52,7 +52,7 @@
- RECEIVES |
+ {{ (section.title or "RECEIVES").rstrip(":").upper() }} |
DESCRIPTION |
diff --git a/src/mkdocstrings_handlers/python/templates/material/_base/docstring/returns.html b/src/mkdocstrings_handlers/python/templates/material/_base/docstring/returns.html
index a1c9c01..0d620d1 100644
--- a/src/mkdocstrings_handlers/python/templates/material/_base/docstring/returns.html
+++ b/src/mkdocstrings_handlers/python/templates/material/_base/docstring/returns.html
@@ -52,7 +52,7 @@
- RETURNS |
+ {{ (section.title or "RETURNS").rstrip(":").upper() }} |
DESCRIPTION |
diff --git a/src/mkdocstrings_handlers/python/templates/material/_base/docstring/warns.html b/src/mkdocstrings_handlers/python/templates/material/_base/docstring/warns.html
index 25a39b6..e5a59a8 100644
--- a/src/mkdocstrings_handlers/python/templates/material/_base/docstring/warns.html
+++ b/src/mkdocstrings_handlers/python/templates/material/_base/docstring/warns.html
@@ -47,7 +47,7 @@
- WARNS |
+ {{ (section.title or "WARNS").rstrip(":").upper() }} |
DESCRIPTION |
diff --git a/src/mkdocstrings_handlers/python/templates/material/_base/docstring/yields.html b/src/mkdocstrings_handlers/python/templates/material/_base/docstring/yields.html
index 891e67d..22d6828 100644
--- a/src/mkdocstrings_handlers/python/templates/material/_base/docstring/yields.html
+++ b/src/mkdocstrings_handlers/python/templates/material/_base/docstring/yields.html
@@ -52,7 +52,7 @@
- YIELDS |
+ {{ (section.title or "YIELDS").rstrip(":").upper() }} |
DESCRIPTION |