jk
4 years ago
2 changed files with 54 additions and 31 deletions
-
45themes/nipponalba/layouts/partials/backup_bookmarks.html
-
40themes/nipponalba/layouts/partials/bookmarks.html
@ -0,0 +1,45 @@ |
|||
<h4>Brewing</h4> |
|||
{{ range .Site.Data.bookmarks }} |
|||
{{ if eq .category "Brewing"}} |
|||
<section data-post-type="bookmark-of" data-post-id="{{ .Params.slug }}" class="bookmark h-entry"> |
|||
<div class="author" style="display:none"> |
|||
<a rel="author" class="p-author h-card" rel="me" href="https://jk.nipponalba.scot"><img src="/images/profile.jpg"/><div class="title">{{ .Site.Params.Title }}</div></a> |
|||
</div> |
|||
<aside> |
|||
<article class="h-cite"> |
|||
<u><a href="{{ .bookmarkof | absURL }}" class="u-bookmark-of" target="_blank">{{ .name }}</a></u> - <div class="p-name p-content">{{ .content | markdownify }}</div> |
|||
</article> |
|||
</aside> |
|||
</section> |
|||
{{ end }} |
|||
{{ end }} |
|||
<h4>Scottish Politics</h4> |
|||
{{ range .Site.Data.bookmarks }} |
|||
{{ if eq .category "Scottish Politics"}} |
|||
<section data-post-type="bookmark-of" data-post-id="{{ .Params.slug }}" class="bookmark h-entry"> |
|||
<div class="author" style="display:none"> |
|||
<a rel="author" class="p-author h-card" rel="me" href="https://jk.nipponalba.scot"><img src="/images/profile.jpg"/><div class="title">{{ .Site.Params.Title }}</div></a> |
|||
</div> |
|||
<aside> |
|||
<article class="h-cite"> |
|||
<u><a href="{{ .bookmarkof | absURL }}" class="u-bookmark-of" target="_blank">{{ .name }}</a></u> - <div class="p-name p-content">{{ .content | markdownify }}</div> |
|||
</article> |
|||
</aside> |
|||
</section> |
|||
{{ end }} |
|||
{{ end }} |
|||
<h4>Vegan Recipes</h4> |
|||
{{ range .Site.Data.bookmarks }} |
|||
{{ if eq .category "Vegan Recipes"}} |
|||
<section data-post-type="bookmark-of" data-post-id="{{ .Params.slug }}" class="bookmark h-entry"> |
|||
<div class="author" style="display:none"> |
|||
<a rel="author" class="p-author h-card" rel="me" href="https://jk.nipponalba.scot"><img src="/images/profile.jpg"/><div class="title">{{ .Site.Params.Title }}</div></a> |
|||
</div> |
|||
<aside> |
|||
<article class="h-cite"> |
|||
<u><a href="{{ .bookmarkof | absURL }}" class="u-bookmark-of" target="_blank">{{ .name }}</a></u> - <div class="p-name p-content">{{ .content | markdownify }}</div> |
|||
</article> |
|||
</aside> |
|||
</section> |
|||
{{ end }} |
|||
{{ end }} |
Reference in new issue