aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/meta-name.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/layouts/partials/meta-name.html')
-rw-r--r--themes/default/layouts/partials/meta-name.html23
1 files changed, 14 insertions, 9 deletions
diff --git a/themes/default/layouts/partials/meta-name.html b/themes/default/layouts/partials/meta-name.html
index eb5990f..2de47eb 100644
--- a/themes/default/layouts/partials/meta-name.html
+++ b/themes/default/layouts/partials/meta-name.html
@@ -1,9 +1,14 @@
-<h2>
- <b>
- {{- with .Params.feed.name -}}
- {{ . }}
- {{- else -}}
- {{ partial "author-name.html" . }}
- {{- end -}}
- </b>
-</h2>
+<micro-metadata-name>
+ <h2>
+ <b>
+ {{- with .Params.feed.name -}}
+ {{- . -}}
+ {{- else -}}
+ {{- partial "author-name.html" . -}}
+ {{- end -}}
+ </b>
+{{- /* This comment removes trailing newlines and white spaces. */ -}}
+ </h2>
+{{- /* This comment removes trailing newlines and white spaces. */ -}}
+</micro-metadata-name>
+{{- /* This comment removes trailing newlines and white spaces. */ -}}