Skip to content

Commit 03918a4

Browse files
committed
dedicated book pages
1 parent 5893f34 commit 03918a4

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

_includes/bookreview.njk

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<h2>booklog: {{book.title}}</h2>
2+
3+
I finished reading <a href="{{ book.link }}">{{ book.title }}</a> by {{ book.author }} on {{ book.finished | readableBookDate }}.
4+
<hr />

books.njk

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: filtered notes.
3+
pagination:
4+
data: books.have_read
5+
size: 1
6+
alias: book
7+
title: {{ book.title }}
8+
permalink: /shelf/{{ book.author | slugify }}/{{ book.title | slugify }}/
9+
layout: base.njk
10+
---
11+
12+
{% include "bookreview.njk" %}
13+
14+
<a class="button" href="{{ '/shelf/' | url }}"><< shelf.</a>

0 commit comments

Comments
 (0)