commit dd683d944f78d966e53626fbc30a731855764859 parent 7d8c479ba2b8d623c9d5b73de6863c1b8821dd3b Author: Yohanes Bandung <bandungpenting@gmail.com> Date: Mon, 4 May 2020 02:30:57 +0700 feature: add h-entry category and syndicated Diffstat:
| M | layouts/_default/single.html | | | 8 | ++++++++ |
| M | layouts/partials/post/notes-item.html | | | 4 | ++++ |
2 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/layouts/_default/single.html b/layouts/_default/single.html @@ -7,7 +7,15 @@ <br> <a class="u-email" href="mailto:{{ .Site.Params.Email }}">{{ .Site.Params.Email }}</a> <br> + <a rel="syndication" class="u-syndication" href={{ .Permalink }}>{{ .Title }}</a> + <br> <span class="p-locality">Jakarta</span>, <span class="p-country-name">Indonesia</span> + <br> + {{ with .Params.tags }} + {{ range . }} + <a class="p-category" href={{ (printf "tags/%s" .) | urlize | absURL }}>{{ . }}</a> + {{ end }} + {{ end }} </div> <div class="e-content"> {{ partial "components/headline-hash.html" .Content }} diff --git a/layouts/partials/post/notes-item.html b/layouts/partials/post/notes-item.html @@ -7,7 +7,11 @@ <br> <a class="u-email" href="mailto:{{ .Site.Params.Email }}">{{ .Site.Params.Email }}</a> <br> + <a rel="syndication" class="u-syndication" href={{ .Permalink }}>{{ .Title }}</a> + <br> <span class="p-locality">Jakarta</span>, <span class="p-country-name">Indonesia</span> + <br> + <a class="p-category" href={{ "notes/" | absURL }}>notes</a> </div> <p class="notes__title" id={{ $idslug }}> <span>