diff options
| author | eltrac <hi@eltr.ac> | 2026-03-18 15:50:26 +0800 |
|---|---|---|
| committer | eltrac <hi@eltr.ac> | 2026-03-18 15:50:26 +0800 |
| commit | 0e5c1b0097b6e2995613e3441fa5e92044f5db04 (patch) | |
| tree | 9f16f82505b1cfc00ec3a6dec83299382e5997ce /layouts/_partials | |
| parent | 410c3c9f7a297e1678c3d1241d25f2d8c7997ca5 (diff) | |
feat(microformats): add h-card to homepage
Diffstat (limited to 'layouts/_partials')
| -rw-r--r-- | layouts/_partials/home/microformats.html | 7 |
1 files changed, 7 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> |
