summaryrefslogtreecommitdiff
path: root/themes/new_theme/layouts/partials/post_meta/author.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/new_theme/layouts/partials/post_meta/author.html')
-rw-r--r--themes/new_theme/layouts/partials/post_meta/author.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/themes/new_theme/layouts/partials/post_meta/author.html b/themes/new_theme/layouts/partials/post_meta/author.html
new file mode 100644
index 0000000..0ee0fc9
--- /dev/null
+++ b/themes/new_theme/layouts/partials/post_meta/author.html
@@ -0,0 +1,6 @@
+{{- if .Site.Author.name -}}
+<div class="meta__item-author meta__item">
+ {{ partial "svg/author.svg" (dict "class" "meta__icon") -}}
+ <span class="meta__text">{{ .Site.Author.name }}</span>
+</div>
+{{- end -}} \ No newline at end of file