aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/meta-name.html
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-07-09 10:13:53 -0400
committertdro <tdro@noreply.example.com>2022-07-09 10:13:53 -0400
commit8e1256308c9c24fa45783a7c0be7ff74a33906ee (patch)
treeb3c62a2f4eb6bfb0a0ac0c8e7563507a2677df6d /themes/default/layouts/partials/meta-name.html
parent2b0c90bcf35d2a68a4ac4aabec6e9c04fd6e234f (diff)
downloadcanory-8e1256308c9c24fa45783a7c0be7ff74a33906ee.tar.gz
canory-8e1256308c9c24fa45783a7c0be7ff74a33906ee.tar.bz2
canory-8e1256308c9c24fa45783a7c0be7ff74a33906ee.zip
themes/default/layouts/partials/card-meta: Add icons
Dry up and normalize white spaces.
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. */ -}}