Browse Source

fixing bookmarks page

master
jk 4 years ago
parent
commit
a8ac63ae6c
  1. 4
      data/bookmarks/craft-beer-brewing-magazine-podcast.yaml
  2. 2
      data/bookmarks/master-brewers-podcast.yaml
  3. 6
      themes/nipponalba/layouts/_default/single.html
  4. 2
      themes/nipponalba/layouts/partials/footer.html

4
data/bookmarks/craft-beer--brewing-magazine-podcast-.yaml → data/bookmarks/craft-beer-brewing-magazine-podcast.yaml

@ -1,11 +1,11 @@
--- ---
bookmark-of: 'https://beerandbrewing.com/podcasts/' bookmark-of: 'https://beerandbrewing.com/podcasts/'
category: Brewing
category: 'Brewing'
date: '2020-07-28 09:28:08' date: '2020-07-28 09:28:08'
draft: false draft: false
name: 'Craft Beer & Brewing Magazine® Podcast ' name: 'Craft Beer & Brewing Magazine® Podcast '
posttype: bookmark-of posttype: bookmark-of
slug: craft-beer--brewing-magazine-podcast-
slug: craft-beer--brewing-magazine-podcast
title: 'Craft Beer & Brewing Magazine® Podcast ' title: 'Craft Beer & Brewing Magazine® Podcast '
content: 'The podcast for those who make and drink great beer.' content: 'The podcast for those who make and drink great beer.'
--- ---

2
data/bookmarks/master-brewers-podcast.yaml

@ -1,6 +1,6 @@
--- ---
bookmark-of: 'https://www.masterbrewerspodcast.com' bookmark-of: 'https://www.masterbrewerspodcast.com'
category: Brewing
category: 'Brewing'
date: '2020-07-28 09:25:48' date: '2020-07-28 09:25:48'
draft: false draft: false
name: 'Master Brewers Podcast' name: 'Master Brewers Podcast'

6
themes/nipponalba/layouts/_default/single.html

@ -78,15 +78,15 @@
{{ if eq .category $cat }} {{ if eq .category $cat }}
<article data-post-type="bookmark-of" data-post-id="{{ .Params.slug }}" class="bookmark h-entry"> <article data-post-type="bookmark-of" data-post-id="{{ .Params.slug }}" class="bookmark h-entry">
<section class="author" style="display:none"> <section 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>
<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.Author}}</div></a>
</section> </section>
<section class="h-cite"> <section class="h-cite">
<a href="{{ (index . "bookmark-of") | absURL }}" class="u-bookmark-of" target="_blank">{{ .name }}</a> - <div class="p-name p-content">{{ .content | markdownify }}</div> <a href="{{ (index . "bookmark-of") | absURL }}" class="u-bookmark-of" target="_blank">{{ .name }}</a> - <div class="p-name p-content">{{ .content | markdownify }}</div>
</section> </section>
</article></section>
{{ end }}
</article>
{{ end }} {{ end }}
{{ end }}</section> {{ end }}</section>
{{ end }}</section>
{{ else }} {{ else }}
<article class="h-entry" id="response"> <article class="h-entry" id="response">
<section class="author" style="display:none;"> <section class="author" style="display:none;">

2
themes/nipponalba/layouts/partials/footer.html

@ -1,4 +1,4 @@
</section>
<footer id="footer"> <footer id="footer">
&copy; {{ now.Format "2006"}} | <a href="https://creativecommons.org/licenses/by/4.0/" target="_blank">CC-BY 4.0</a> | <a href="{{ .Permalink }}index.xml"><i class="fa fa-rss fa-fw" aria-hidden="true" title="Blog RSS feed"></i></a><br/> &copy; {{ now.Format "2006"}} | <a href="https://creativecommons.org/licenses/by/4.0/" target="_blank">CC-BY 4.0</a> | <a href="{{ .Permalink }}index.xml"><i class="fa fa-rss fa-fw" aria-hidden="true" title="Blog RSS feed"></i></a><br/>
<img src="{{ .Site.Params.siteLogo | absURL }}" alt="nipponalba logo" id="logo"><br/> <img src="{{ .Site.Params.siteLogo | absURL }}" alt="nipponalba logo" id="logo"><br/>