Browse Source

adding microformats to bookmarks page

master
jk 4 years ago
parent
commit
4215bc71f3
  1. 6
      themes/nipponalba/layouts/partials/bookmarks.html

6
themes/nipponalba/layouts/partials/bookmarks.html

@ -2,7 +2,7 @@
{{ range .Site.Data.bookmarks }} {{ range .Site.Data.bookmarks }}
{{ if eq .category "Brewing"}} {{ if eq .category "Brewing"}}
<section data-post-type="bookmark-of" data-post-id="{{ .Params.slug }}" class="bookmark h-entry"> <section data-post-type="bookmark-of" data-post-id="{{ .Params.slug }}" class="bookmark h-entry">
<div class="author">
<div class="author" style="display:none">
<a rel="author" class="u-author h-card" rel="me" href="https://jk.nipponalba.scot"><img src="/images/profile.jpg"/><div class="title">{{ .Site.Params.Title }}</div></a> <a rel="author" class="u-author h-card" rel="me" href="https://jk.nipponalba.scot"><img src="/images/profile.jpg"/><div class="title">{{ .Site.Params.Title }}</div></a>
</div> </div>
<aside> <aside>
@ -17,7 +17,7 @@
{{ range .Site.Data.bookmarks }} {{ range .Site.Data.bookmarks }}
{{ if eq .category "Scottish Politics"}} {{ if eq .category "Scottish Politics"}}
<section data-post-type="bookmark-of" data-post-id="{{ .Params.slug }}" class="bookmark h-entry"> <section data-post-type="bookmark-of" data-post-id="{{ .Params.slug }}" class="bookmark h-entry">
<div class="author">
<div class="author" style="display:none">
<a rel="author" class="u-author h-card" rel="me" href="https://jk.nipponalba.scot"><img src="/images/profile.jpg"/><div class="title">{{ .Site.Params.Title }}</div></a> <a rel="author" class="u-author h-card" rel="me" href="https://jk.nipponalba.scot"><img src="/images/profile.jpg"/><div class="title">{{ .Site.Params.Title }}</div></a>
</div> </div>
<aside> <aside>
@ -32,7 +32,7 @@
{{ range .Site.Data.bookmarks }} {{ range .Site.Data.bookmarks }}
{{ if eq .category "Vegan Recipes"}} {{ if eq .category "Vegan Recipes"}}
<section data-post-type="bookmark-of" data-post-id="{{ .Params.slug }}" class="bookmark h-entry"> <section data-post-type="bookmark-of" data-post-id="{{ .Params.slug }}" class="bookmark h-entry">
<div class="author">
<div class="author" style="display:none">
<a rel="author" class="u-author h-card" rel="me" href="https://jk.nipponalba.scot"><img src="/images/profile.jpg"/><div class="title">{{ .Site.Params.Title }}</div></a> <a rel="author" class="u-author h-card" rel="me" href="https://jk.nipponalba.scot"><img src="/images/profile.jpg"/><div class="title">{{ .Site.Params.Title }}</div></a>
</div> </div>
<aside> <aside>