diff options
| -rw-r--r-- | layouts/_partials/home/microformats.html | 7 | ||||
| -rw-r--r-- | layouts/home.html | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/layouts/_partials/home/microformats.html b/layouts/_partials/home/microformats.html new file mode 100644 index 00000000..cc6bc0bc --- /dev/null +++ b/layouts/_partials/home/microformats.html @@ -0,0 +1,7 @@ +<div class="hidden p-author h-card pt"> + <img class="u-photo icon" alt="{{ .Site.Params.author.name }}" + src="{{ printf "%s%s" .Site.Params.assetBaseUrl .Site.Params.author.avatar }}" /> + <a class="p-name u-url" href="{{ .Site.BaseURL }}" + >{{ .Site.Params.author.name }}</a + > +</div> diff --git a/layouts/home.html b/layouts/home.html index a419bd8f..cd95ce2b 100644 --- a/layouts/home.html +++ b/layouts/home.html @@ -1,4 +1,5 @@ {{ define "main" }} + {{ partial "home/microformats" . }} <article> {{ partial "header" . }} {{ partial "home/home-nav" . }} |
