jekyll-paginate-v2 1.3.3 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +5 -1
  3. data/README.md +107 -3
  4. data/examples/01-typicalblog/Gemfile +28 -0
  5. data/examples/01-typicalblog/README.md +91 -0
  6. data/examples/01-typicalblog/_config.yml +51 -0
  7. data/examples/01-typicalblog/_includes/header.html +31 -0
  8. data/examples/01-typicalblog/_layouts/home.html +52 -0
  9. data/examples/01-typicalblog/_posts/2016-11-20-geography-of-minneapolis.md +29 -0
  10. data/examples/01-typicalblog/_posts/2016-11-21-sailing-summer-olympics-1988.md +15 -0
  11. data/examples/01-typicalblog/_posts/2016-11-22-rotary-engine.md +27 -0
  12. data/examples/01-typicalblog/_posts/2016-11-23-luft-fahrzeug-gesellschaft.md +27 -0
  13. data/examples/01-typicalblog/_posts/2016-11-24-narcisse-snake-pits.md +18 -0
  14. data/examples/01-typicalblog/_posts/2016-11-25-tele7jours.md +43 -0
  15. data/examples/01-typicalblog/_posts/2016-11-26-columbia-river.md +41 -0
  16. data/examples/01-typicalblog/_posts/2016-11-27-welcome-to-jekyll-paginate-v2.md +33 -0
  17. data/examples/01-typicalblog/about.md +15 -0
  18. data/examples/01-typicalblog/index.html +8 -0
  19. data/examples/02-category/Gemfile +28 -0
  20. data/examples/02-category/README.md +119 -0
  21. data/examples/02-category/_config.yml +47 -0
  22. data/examples/02-category/_includes/header.html +31 -0
  23. data/examples/02-category/_layouts/home.html +52 -0
  24. data/examples/02-category/_posts/2016-10-27-welcome-to-jekyll-paginate-v2.md +32 -0
  25. data/examples/02-category/about.md +15 -0
  26. data/examples/02-category/cars/_posts/2016-10-18-Porsche-918-Spyder.md +13 -0
  27. data/examples/02-category/cars/_posts/2016-10-19-Porsche-964.md +12 -0
  28. data/examples/02-category/cars/_posts/2016-10-20-porsche-911-gt3.md +13 -0
  29. data/examples/02-category/cars/_posts/2016-10-21-porsche-911.md +13 -0
  30. data/examples/02-category/cars/_posts/2016-10-22-porsche-962.md +18 -0
  31. data/examples/02-category/cars/_posts/2016-10-23-Toyota-GT-One.md +20 -0
  32. data/examples/02-category/cars/_posts/2016-10-24-Mercedes-Benz-CLK-GTR.md +40 -0
  33. data/examples/02-category/cars/_posts/2016-10-25-rolls-royce-silver-ghost.md +31 -0
  34. data/examples/02-category/categories/byname.md +11 -0
  35. data/examples/02-category/categories/porsche.md +10 -0
  36. data/examples/02-category/index.md +13 -0
  37. data/examples/02-category/toyota/index.md +7 -0
  38. data/examples/03-tags/Gemfile +28 -0
  39. data/examples/03-tags/README.md +60 -0
  40. data/examples/03-tags/_config.yml +45 -0
  41. data/examples/03-tags/_includes/header.html +31 -0
  42. data/examples/03-tags/_layouts/home.html +51 -0
  43. data/examples/03-tags/_layouts/post.html +20 -0
  44. data/examples/03-tags/biography/_posts/2016-10-27-born-to-run.md +26 -0
  45. data/examples/03-tags/biography/_posts/2016-10-27-forty-autumns.md +26 -0
  46. data/examples/03-tags/biography/_posts/2016-10-27-life-in-questions-a.md +27 -0
  47. data/examples/03-tags/biography/_posts/2016-10-27-not-dead-yet.md +24 -0
  48. data/examples/03-tags/biography/_posts/2016-10-27-princess-diarist-the.md +26 -0
  49. data/examples/03-tags/biography/_posts/2016-10-27-when-breath-becomes-air.md +24 -0
  50. data/examples/03-tags/biography/biography-musicians.md +13 -0
  51. data/examples/03-tags/biography/biography.md +12 -0
  52. data/examples/03-tags/blog/_posts/2016-09-30-welcome-to-jekyll-paginate-v2.md +32 -0
  53. data/examples/03-tags/byisbn.md +13 -0
  54. data/examples/03-tags/fantasy/_posts/2016-10-27-harry-potter-deathly-hallows.md +24 -0
  55. data/examples/03-tags/fantasy/_posts/2016-10-27-harry-potter-philosophers-stone.md +24 -0
  56. data/examples/03-tags/fantasy/_posts/2016-10-27-mistborn-trilogy.md +24 -0
  57. data/examples/03-tags/fantasy/_posts/2016-10-27-ready-player-one.md +24 -0
  58. data/examples/03-tags/fantasy/_posts/2016-10-27-sword-of-destiny.md +24 -0
  59. data/examples/03-tags/fantasy/_posts/2016-10-27-terry-pratchet-diary-2017.md +24 -0
  60. data/examples/03-tags/index.md +18 -0
  61. data/examples/03-tags/romance/_posts/2016-10-27-breath-of-snow-and-ashes-a.md +25 -0
  62. data/examples/03-tags/romance/_posts/2016-10-27-dressmaker-the.md +24 -0
  63. data/examples/03-tags/romance/_posts/2016-10-27-fiery-cross-the.md +26 -0
  64. data/examples/03-tags/romance/_posts/2016-10-27-it-ends-with-us.md +28 -0
  65. data/examples/03-tags/romance/_posts/2016-10-27-outlander-novel.md +34 -0
  66. data/examples/03-tags/romance/_posts/2016-10-27-virgins-outlander-short-story.md +26 -0
  67. data/examples/03-tags/romance/romance-historical.md +14 -0
  68. data/examples/03-tags/tags/contemporary.md +10 -0
  69. data/examples/03-tags/tags/fantasy.md +12 -0
  70. data/examples/03-tags/tags/sci-fi.md +13 -0
  71. data/examples/README.md +21 -0
  72. data/examples/img/01-example-screenshot-main.png +0 -0
  73. data/examples/img/02-example-screenshot-main.png +0 -0
  74. data/examples/img/03-example-screenshot-main.png +0 -0
  75. data/lib/jekyll-paginate-v2.rb +1 -0
  76. data/lib/jekyll-paginate-v2/compatibilityUtils.rb +4 -3
  77. data/lib/jekyll-paginate-v2/paginationGenerator.rb +15 -8
  78. data/lib/jekyll-paginate-v2/paginationModel.rb +58 -37
  79. data/lib/jekyll-paginate-v2/paginationPage.rb +38 -0
  80. data/lib/jekyll-paginate-v2/paginator.rb +3 -3
  81. data/lib/jekyll-paginate-v2/utils.rb +47 -1
  82. data/lib/jekyll-paginate-v2/version.rb +2 -2
  83. data/spec/spec_helper.rb +1 -0
  84. metadata +74 -2
@@ -0,0 +1,31 @@
1
+ <header class="site-header" role="banner">
2
+
3
+ <div class="wrapper">
4
+
5
+ <a class="site-title" href="{{ "/" | relative_url}}">{{ site.title | escape }}</a>
6
+
7
+ <nav class="site-nav">
8
+ <span class="menu-icon">
9
+ <svg viewBox="0 0 18 15" width="18px" height="15px">
10
+ <path fill="#424242" d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.031C17.335,0,18,0.665,18,1.484L18,1.484z"/>
11
+ <path fill="#424242" d="M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0c0-0.82,0.665-1.484,1.484-1.484 h15.031C17.335,6.031,18,6.696,18,7.516L18,7.516z"/>
12
+ <path fill="#424242" d="M18,13.516C18,14.335,17.335,15,16.516,15H1.484C0.665,15,0,14.335,0,13.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.031C17.335,12.031,18,12.696,18,13.516L18,13.516z"/>
13
+ </svg>
14
+ </span>
15
+
16
+ <div class="trigger">
17
+ {% for my_page in site.pages %}
18
+ <!--
19
+ my_page.autogen is populated by the pagination logic for all pages
20
+ that are automatically created by the gem. Check for non-existence to exclude pagination pages from site.pages iterators
21
+ -->
22
+ {% if my_page.title and my_page.autogen == nil %}
23
+ <a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
24
+ {% endif %}
25
+ {% endfor %}
26
+ </div>
27
+ </nav>
28
+
29
+ </div>
30
+
31
+ </header>
@@ -0,0 +1,51 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <!-- Just some nice to have styles for the pager buttons -->
5
+ <style>
6
+ ul.pager { text-align: center; list-style: none; }
7
+ ul.pager li {display: inline;border: 1px solid black; padding: 10px; margin: 5px;}
8
+ </style>
9
+
10
+ <div class="home">
11
+
12
+ <h1 class="page-heading">Posts</h1>
13
+
14
+ {{ content | markdownify }}
15
+
16
+ <ul class="post-list">
17
+ <!--
18
+ Here is the main paginator logic called.
19
+ All calls to site.posts should be replaced by paginator.posts
20
+ -->
21
+ {% for post in paginator.posts %}
22
+ <li>
23
+ <span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}{% if post.book.rank %} | Rank: {{ post.book.rank }}{% endif %}{% if post.categories %} | {{ post.categories }}{% endif %}{% if post.tags %}<br>Tags: {{ post.tags }}{% endif %}</span>
24
+ <h2>
25
+ <a class="post-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
26
+ </h2>
27
+ </li>
28
+ {% endfor %}
29
+ </ul>
30
+
31
+ <!--
32
+ Showing buttons to move to the next and to the previous list of posts (pager buttons).
33
+ -->
34
+ {% if paginator.total_pages > 1 %}
35
+ <ul class="pager">
36
+ {% if paginator.previous_page %}
37
+ <li class="previous">
38
+ <a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">&larr; Newer Posts</a>
39
+ </li>
40
+ {% endif %}
41
+ {% if paginator.next_page %}
42
+ <li class="next">
43
+ <a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Older Posts &rarr;</a>
44
+ </li>
45
+ {% endif %}
46
+ </ul>
47
+ {% endif %}
48
+
49
+ <p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | relative_url }}">via RSS</a></p>
50
+
51
+ </div>
@@ -0,0 +1,20 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <article class="post" itemscope itemtype="http://schema.org/BlogPosting">
5
+
6
+ <header class="post-header">
7
+ <h1 class="post-title" itemprop="name headline">{{ page.title | escape }}</h1>
8
+ <p class="post-meta"><time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">{{ page.date | date: "%b %-d, %Y" }}</time>{% if page.author %} • <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{{ page.author }}</span></span>{% endif %}
9
+ {% if page.book.rank %} • Rank: {{ page.book.rank }}{% endif %}{% if page.categories %}<br>Category: {{ page.categories }}{% endif %}{% if page.tags %}<br>Tags: {{ page.tags }}{% endif %}</p>
10
+ </header>
11
+
12
+ <div class="post-content" itemprop="articleBody">
13
+ <img width="200" hspace="10" src="{{ page.book.cover }}" style="float:right"/>
14
+ {{ content | markdownify }}
15
+ </div>
16
+
17
+ {% if site.disqus.shortname %}
18
+ {% include disqus_comments.html %}
19
+ {% endif %}
20
+ </article>
@@ -0,0 +1,26 @@
1
+ ---
2
+ layout: post
3
+ title: "Born to Run"
4
+ date: 2016-10-27 19:16:49 +0100
5
+ author: "Bruce Springsteen"
6
+ book:
7
+ cover: "https://d1w7fb2mkkr3kw.cloudfront.net/assets/images/book/large/9781/4711/9781471157790.jpg"
8
+ format: hardback
9
+ pages: 528
10
+ publisher: simon and schuster ltd
11
+ ISBN10: 1471157792
12
+ ISBN13: 9781471157790
13
+ rank: 23
14
+ price:
15
+ usd: 26.98
16
+ eur: 25.49
17
+ tags: Musicians, Autobiography, Memoirs
18
+ ---
19
+
20
+ THE NUMBER ONE BESTSELLER 'Writing about yourself is a funny business...But in a project like this, the writer has made one promise, to show the reader his mind. In these pages, I've tried to do this.' -Bruce Springsteen, from the pages of Born to Run In 2009, Bruce Springsteen and the E Street Band performed at the Super Bowl's halftime show.
21
+
22
+ The experience was so exhilarating that Bruce decided to write about it. That's how this extraordinary autobiography began. Over the past seven years, Bruce Springsteen has privately devoted himself to writing the story of his life, bringing to these pages the same honesty, humour and originality found in his songs. He describes growing up Catholic in Freehold, New Jersey, amid the poetry, danger and darkness that fuelled his imagination, leading up to the moment he refers to as 'The Big Bang': seeing Elvis Presley's debut on The Ed Sullivan Show.
23
+
24
+ He vividly recounts his relentless drive to become a musician, his early days as a bar band king in Asbury Park, and the rise of the E Street Band. With disarming candour, he also tells for the first time the story of the personal struggles that inspired his best work, and shows us why the song 'Born to Run' reveals more than we previously realized. Born to Run will be revelatory for anyone who has ever enjoyed Bruce Springsteen, but this book is much more than a legendary rock star's memoir.
25
+
26
+ This is a book for workers and dreamers, parents and children, lovers and loners, artists, freaks or anyone who has ever wanted to be baptized in the holy river of rock and roll. Rarely has a performer told his own story with such force and sweep. Like many of his songs ('Thunder Road', 'Badlands', 'Darkness on the Edge of Town', 'The River', 'Born in the U.S.A.', 'The Rising', and 'The Ghost of Tom Joad', to name just a few), Bruce Springsteen's autobiography is written with the lyricism of a singular songwriter and the wisdom of a man who has thought deeply about his experiences.
@@ -0,0 +1,26 @@
1
+ ---
2
+ layout: post
3
+ title: "Forty Autumns : A Family's Story of Courage and Survival on Both Sides of the Berlin Wall"
4
+ date: 2016-10-27 19:16:49 +0100
5
+ author: Nina Willner
6
+ book:
7
+ cover: https://d20eq91zdmkqd.cloudfront.net/assets/images/book/large/9781/4087/9781408707265.jpg
8
+ format: hardback
9
+ pages: 416
10
+ publisher: Little, Brown Book Group
11
+ ISBN10: 1408707268
12
+ ISBN13: 9781408707265
13
+ rank: 106052
14
+ price:
15
+ usd: 26.25
16
+ eur: 24.79
17
+ tags: Autobiography, Historical, Military, Memoirs'
18
+ ---
19
+
20
+ In Forty Autumns, Nina Willner recounts the history of three generations of her family - mothers, sisters, daughters and cousins - separated by forty years of Soviet rule, and reunited after the fall of the Berlin Wall. Shortly after the end of the Second World War, as the Soviets took control of the eastern part of Germany, Hanna, a schoolteacher's daughter, escaped with nothing more than a small suitcase and the clothes on her back.
21
+
22
+ As Hanna built a new life in the West, her relatives (her mother, father and eight siblings) remained in the East. The construction of the Berlin Wall severed all hope of any future reunion. Hanna fell in love and moved to America. She made many attempts to establish contact with her family, but most were unsuccessful. Her father was under close observation; her mother, younger sister Heidi and the others struggled to adjust to life under a bizarre and brutal regime that kept its citizens cut off from the outside world.
23
+
24
+ A few years later, Hanna had a daughter - Nina - who grew up to become the first female US Army intelligence officer to lead sensitive intelligence collection operations in East Berlin at the height of the Cold War. At the same time, Heidi's daughter, Cordula, was training to become a member of the East German Olympic cycling team. Though separated by only a few miles, Nina and her relatives led entirely different lives. Once the Berlin Wall came down, and the families were reunited, Nina Willner discovered an extraordinary story.
25
+
26
+ In Forty Autumns she vividly brings to life many accounts of courage and survival, set against the backdrop of four decades that divided a nation and the world.
@@ -0,0 +1,27 @@
1
+ ---
2
+ layout: post
3
+ title: "A Life in Questions"
4
+ date: 2016-10-27 19:16:49 +0100
5
+ author: Jeremy Paxman
6
+ book:
7
+ cover: https://d3by36x8sj6cra.cloudfront.net/assets/images/book/large/9780/0081/9780008128302.jpg
8
+ format: hardback
9
+ pages: 320
10
+ publisher: HarperCollins Publishers
11
+ ISBN10: 0008128308
12
+ ISBN13: 9780008128302
13
+ rank: 16817
14
+ price:
15
+ usd: 26.31
16
+ eur: 24.85
17
+ tags: Memoirs, Political, Media,Press,Journalism
18
+ ---
19
+
20
+ The witty, incisive and frank memoirs from the legend of Newsnight and long-standing quiz master of University Challenge. Filled with views, opinions and stories from 4 decades in front of the camera. Jeremy Paxman is Britain's bravest, most incisive political interviewer.
21
+
22
+
23
+ The no-nonsense star of BBC Newsnight, Paxman is a supreme inquisitor, a master at skewering mammoth egos with his relentless grilling. Few figures in public life have escaped. From John Major to Theresa May, from Tony Blair to Ed Miliband, Paxman had them quaking in their boots. His working life has been defined by questions. 'Why is this lying bastard lying to me?' was at the front of his mind as he conducted every interview. But it wasn't just politicians. Paxman's interviews with Dizzee Rascal, David Bowie, Russell Brand, Vivienne Westwood are legendary. He discussed belief with religious leaders and philosophers, economics with CEOs and bankers, books with writers and art and theatre with artists.
24
+
25
+ After 22 years on University Challenge, Paxman is also the longest-serving active quizmaster on British television. Now, in these long-awaited memoirs, he spills the beans behind four decades in front of the camera. He offers reflections and stories from a career that has taken him as a reporter to many of the world's war zones and trouble spots - Central America, Beirut, Belfast, to the studios of Tonight, Panorama, Breakfast Time, the Six O'clock News. Filled with candid stories about the great, the good and the rotters that have crossed his path, his memoirs are as magnetic to read as Paxman is to watch.
26
+
27
+ Candid, uncompromising, compassionate, reflective and astute, he writes of the principles that have governed his professional life, the inner workings of the BBC, the role of journalists in political debate, the scandals and rows he's been part of, the books he has written and the series he has made. In a book that tells some terrific stories and laughs at much of the silliness in the world, A Life in Questions charts the life of the greatest political interviewer of our time.
@@ -0,0 +1,24 @@
1
+ ---
2
+ layout: post
3
+ title: "Not Dead Yet: The Autobiography"
4
+ date: 2016-10-27 19:16:49 +0100
5
+ author: Phil Collins
6
+ book:
7
+ cover: https://d1w7fb2mkkr3kw.cloudfront.net/assets/images/book/large/9781/7808/9781780895123.jpg
8
+ format: hardback
9
+ pages: 464
10
+ publisher: Cornerstone
11
+ ISBN10: 1780895127
12
+ ISBN13: 9781780895123
13
+ rank: 1367
14
+ price:
15
+ usd: 26.13
16
+ eur: 24.69
17
+ tags: Musicians,Memoirs
18
+ ---
19
+
20
+ Not Dead Yet is Phil Collins' candid, witty, unvarnished story of the songs and shows, the hits and pans, his marriages and divorces, the ascents to the top of the charts and into the tabloid headlines. As one of only three musicians to sell over 100 million records both in a group and as a solo artist, Collins breathes rare air, but he has never lost his talent for crafting songs that touch listeners around the globe.
21
+
22
+ This is the story of his epic career, from child actor to one of the most successful songwriters of the pop music era. A drummer since almost before he could walk, Collins received on-the-job training in the seedy, thrilling bars and clubs of 1960s swinging London before finally landing the drum seat in Genesis. Later he would step into the spotlight on vocals after the departure of Peter Gabriel, and compose the songs that would rocket him to international solo fame with the release of Face Value and 'In the Air Tonight'.
23
+
24
+ Whether he's recalling jamming with Eric Clapton and Robert Plant, pulling together a big band fronted by Tony Bennett, playing twice at Live Aid, or writing the Oscar-winning music for Disney's smash-hit animated film Tarzan, Collins keeps it intimate and his storytelling gift never wavers.
@@ -0,0 +1,26 @@
1
+ ---
2
+ layout: post
3
+ title: "The Princess Diarist"
4
+ date: 2016-10-27 19:16:49 +0100
5
+ author: Carrie Fisher
6
+ book:
7
+ cover: https://d3by36x8sj6cra.cloudfront.net/assets/images/book/large/9780/5930/9780593077566.jpg
8
+ format: hardback
9
+ pages: 272
10
+ publisher: Transworld Publishers Ltd
11
+ ISBN10: 0593077563
12
+ ISBN13: 9780593077566
13
+ rank: 5690
14
+ price:
15
+ usd: 22.19
16
+ eur: 20.97
17
+ tags: Memoirs,Films,Autobiography,Actors
18
+ ---
19
+
20
+ The Princess Diarist is Carrie Fisher's intimate, hilarious and revealing recollection of what happened behind the scenes on one of the most famous film sets of all time, the first Star Wars movie.
21
+
22
+ When Carrie Fisher recently discovered the journals she kept during the filming of the first Star Wars movie, she was astonished to see what they had preserved-plaintive love poems, unbridled musings with youthful naivete, and a vulnerability that she barely recognized. Today, her fame as an author, actress, and pop-culture icon is indisputable, but in 1977, Carrie Fisher was just a (sort-of) regular teenager.
23
+
24
+ With these excerpts from her handwritten notebooks, The Princess Diarist is Fisher's intimate and revealing recollection of what happened on one of the most famous film sets of all time-and what developed behind the scenes. And today, as she reprises her most iconic role for the latest Star Wars trilogy, Fisher also ponders the joys and insanity of celebrity, and the absurdity of a life spawned by Hollywood royalty, only to be surpassed by her own outer-space royalty.
25
+
26
+ Laugh-out-loud hilarious and endlessly quotable, The Princess Diarist brims with the candour and introspection of a diary while offering shrewd insight into the type of stardom that few will ever experience.
@@ -0,0 +1,24 @@
1
+ ---
2
+ layout: post
3
+ title: "When Breath Becomes Air"
4
+ date: 2016-10-27 19:16:49 +0100
5
+ author: Paul Kalanithi
6
+ book:
7
+ cover: https://d3by36x8sj6cra.cloudfront.net/assets/images/book/large/9781/8479/9781847923677.jpg
8
+ format: hardback
9
+ pages: 256
10
+ publisher: Vintage Publishing
11
+ ISBN10: 1847923674
12
+ ISBN13: 9781847923677
13
+ rank: 40
14
+ price:
15
+ usd: 16.92
16
+ eur: 15.98
17
+ tags: Memoirs,Neurosurgery,Doctors
18
+ ---
19
+
20
+ THE NEW YORK TIMES NUMBER ONE BESTSELLER THE SUNDAY TIMES BESTSELLER 'Finishing this book and then forgetting about it is simply not an option...Unmissable' New York Times At the age of thirty-six, on the verge of completing a decade's training as a neurosurgeon, Paul Kalanithi was diagnosed with inoperable lung cancer.
21
+
22
+ One day he was a doctor treating the dying, the next he was a patient struggling to live. When Breath Becomes Air chronicles Kalanithi's transformation from a medical student asking what makes a virtuous and meaningful life into a neurosurgeon working in the core of human identity - the brain - and finally into a patient and a new father. What makes life worth living in the face of death? What do you do when when life is catastrophically interrupted? What does it mean to have a child as your own life fades away?
23
+
24
+ Paul Kalanithi died while working on this profoundly moving book, yet his words live on as a guide to us all. When Breath Becomes Air is a life-affirming reflection on facing our mortality and on the relationship between doctor and patient, from a gifted writer who became both.
@@ -0,0 +1,13 @@
1
+ ---
2
+ layout: home
3
+ title: Biographies by Musicians
4
+ pagination:
5
+ enabled: true
6
+ category: biography
7
+ tag: Musicians
8
+ permalink: /:num/
9
+ sort_field: 'book:rank'
10
+ sort_reverse: false
11
+ ---
12
+
13
+ All books in category _biographies_ that are also tagged with _musicians_
@@ -0,0 +1,12 @@
1
+ ---
2
+ layout: home
3
+ title: Biographies by Rank
4
+ pagination:
5
+ enabled: true
6
+ category: biography
7
+ permalink: /:num/
8
+ sort_field: 'book:rank'
9
+ sort_reverse: false
10
+ ---
11
+
12
+ All books in category _biographies_ ordered by rank low-to-high
@@ -0,0 +1,32 @@
1
+ ---
2
+ layout: post
3
+ title: "Welcome to Jekyll Paginate V2!"
4
+ date: 2016-10-27 19:16:49 +0100
5
+ ---
6
+ You’ll find this post in your `_posts` directory. This post along with all of the other example posts is paginated by the new [jekyll-paginate-v2 gem](https://github.com/sverrirs/jekyll-paginate-v2).
7
+
8
+ This pagination gem is built specially for Jekyll 3 and newer and is intended to replace the now discontinuted jekyll-paginate gem.
9
+
10
+ This v2 of the gem offers full backwards compatibility with the old gem and its site configuration. You can simply replace the old jekyll-paginate gem with this one and your sites will still work without any changes.
11
+
12
+ However to access the new enhanced features of this gem, like pagination on categories, tags and locales, then you need to remove the old jekyll-paginate configuration and activate the new `pagination:` [site configuration](https://github.com/sverrirs/jekyll-paginate-v2#site-configuration).
13
+
14
+ The [source code](https://github.com/sverrirs/jekyll-paginate-v2/tree/master/examples) for this example project will show you all the necessary steps.
15
+
16
+ ## Installing
17
+
18
+ Go ahead and install the latest version of the gem from [rubygems.org](https://rubygems.org/gems/jekyll-paginate-v2)
19
+
20
+ ```
21
+ gem install jekyll-paginate-v2
22
+ ```
23
+
24
+ Replace the `jekyll-paginate` gem with `jekyll-paginate-v2` in both your `_config.yml` and your `Gemfile`.
25
+
26
+ Now go ahead and re-build your site to start running the new pagination logic. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated.
27
+
28
+ Please see the [GitHub repo](https://github.com/sverrirs/jekyll-paginate-v2) to learn how to get the most out of this new pagination gem. There we also discuss the gems more advanced features.
29
+
30
+ Please file all bugs/feature requests in the issues section of the [GitHub repo](https://github.com/sverrirs/jekyll-paginate-v2/issues).
31
+
32
+ Have a great day :)
@@ -0,0 +1,13 @@
1
+ ---
2
+ layout: home
3
+ title: By ISBN
4
+ permalink: /isbn/
5
+ pagination:
6
+ enabled: true
7
+ permalink: '/:num/'
8
+ sort_field: 'book:ISBN13'
9
+ sort_reverse: false
10
+ ---
11
+
12
+
13
+ <p>This page lies in the root of the site (next to the index.md) and safely lists all books sorted by their _ISBN_ field</p>
@@ -0,0 +1,24 @@
1
+ ---
2
+ layout: post
3
+ title: Harry Potter and the Deathly Hallows
4
+ date: 2016-10-27 19:16:49 +0100
5
+ author: J. K. Rowling
6
+ book:
7
+ cover: https://d4rri9bdfuube.cloudfront.net/assets/images/book/large/9781/4088/9781408855713.jpg
8
+ format: paperback
9
+ pages: 640
10
+ publisher: Bloomsbury Publishing PLC
11
+ ISBN10: 1408855712
12
+ ISBN13: 9781408855713
13
+ rank: 797
14
+ price:
15
+ usd: 10.66
16
+ eur: 10.07
17
+ tags: Fantasy, Magic
18
+ ---
19
+
20
+ As he climbs into the sidecar of Hagrid's motorbike and takes to the skies, leaving Privet Drive for the last time, Harry Potter knows that Lord Voldemort and the Death Eaters are not far behind. The protective charm that has kept Harry safe until now is now broken, but he cannot keep hiding.
21
+
22
+ The Dark Lord is breathing fear into everything Harry loves, and to stop him Harry will have to find and destroy the remaining Horcruxes. The final battle must begin - Harry must stand and face his enemy. These new editions of the classic and internationally bestselling, multi-award-winning series feature instantly pick-up-able new jackets by Jonny Duddle, with huge child appeal, to bring Harry Potter to the next generation of readers.
23
+
24
+ It's time to PASS THE MAGIC ON ...
@@ -0,0 +1,24 @@
1
+ ---
2
+ layout: post
3
+ title: "Harry Potter and the Philosopher's Stone"
4
+ date: 2016-10-27 19:16:49 +0100
5
+ author: "J. K. Rowling"
6
+ book:
7
+ cover: https://d1w7fb2mkkr3kw.cloudfront.net/assets/images/book/large/9781/4088/9781408845646.jpg
8
+ format: hardback
9
+ pages: 256
10
+ publisher: Bloomsbury Publishing PLC
11
+ ISBN10: 1408845644
12
+ ISBN13: 9781408845646
13
+ rank: 39
14
+ price:
15
+ usd: 40.21
16
+ eur: 37.99
17
+ tags: Fantasy, Magic
18
+ ---
19
+
20
+ Prepare to be spellbound by Jim Kay's dazzling depiction of the wizarding world and much loved characters in this full-colour illustrated hardback edition of the nation's favourite children's book - Harry Potter and the Philosopher's Stone.
21
+
22
+ Brimming with rich detail and humour that perfectly complements J.K. Rowling's timeless classic, Jim Kay's glorious illustrations will captivate fans and new readers alike. When a letter arrives for unhappy but ordinary Harry Potter, a decade-old secret is revealed to him that apparently he's the last to know. His parents were wizards, killed by a Dark Lord's curse when Harry was just a baby, and which he somehow survived. Leaving his unsympathetic aunt and uncle for Hogwarts School of Witchcraft and Wizardry, Harry stumbles upon a sinister mystery when he finds a three-headed dog guarding a room on the third floor. Then he hears of a missing stone with astonishing powers, which could be valuable, dangerous - or both.
23
+
24
+ An incredible adventure is about to begin!
@@ -0,0 +1,24 @@
1
+ ---
2
+ layout: post
3
+ title: "Mistborn Trilogy : The Final Empire, the Well of Ascension, the Hero of Ages"
4
+ date: 2016-10-27 19:16:49 +0100
5
+ author: Brandon Sanderson
6
+ book:
7
+ cover: https://d1w7fb2mkkr3kw.cloudfront.net/assets/images/book/large/9781/4732/9781473213692.jpg
8
+ format: paperback
9
+ pages: 2500
10
+ publisher: Orion Publishing Co
11
+ ISBN10: 147321369X
12
+ ISBN13: 9781473213692
13
+ rank: 731
14
+ price:
15
+ usd: 26.92
16
+ eur: 25.43
17
+ tags: Fantasy, Magic, Heroes
18
+ ---
19
+
20
+ A boxed set of the landmark fantasy from Brandon Sanderson, the man credited with breathing fresh life into Robert Jordan's WHEEL OF TIME.
21
+
22
+ An epic fantasy set in a world where the Dark Lord has gained dominion over the world. A world of ash and pain. A world subjugated. But a world where magic can be drawn from metals. A world waiting for a new heroine, a new hope.
23
+
24
+ A word of mouth bestseller in the USA Brandon Sanderson's Mistborn trilogy have now become a massive hit in the UK, introducing readers to the work of one of the genre's great talents. A master of world building, sweeping plots, believable characters and engrossing magic systems.
@@ -0,0 +1,24 @@
1
+ ---
2
+ layout: post
3
+ title: Ready Player One
4
+ date: 2016-10-27 19:16:49 +0100
5
+ author: Ernest Cline
6
+ book:
7
+ cover: https://d3by36x8sj6cra.cloudfront.net/assets/images/book/large/9780/0995/9780099560432.jpg
8
+ format: paperback
9
+ pages: 384
10
+ publisher: Cornerstone
11
+ ISBN10: 0099560437
12
+ ISBN13: 9780099560432
13
+ rank: 142
14
+ price:
15
+ usd: 8.12
16
+ eur: 7.67
17
+ tags: Contemporary,Fiction,Thrillers,Adventure,Science Fiction
18
+ ---
19
+
20
+ It's the year 2044, and the real world has become an ugly place. We're out of oil. We've wrecked the climate. Famine, poverty, and disease are widespread.
21
+
22
+ Like most of humanity, Wade Watts escapes this depressing reality by spending his waking hours jacked into the OASIS, a sprawling virtual utopia where you can be anything you want to be, where you can live and play and fall in love on any of ten thousand planets. And like most of humanity, Wade is obsessed by the ultimate lottery ticket that lies concealed within this alternate reality: OASIS founder James Halliday, who dies with no heir, has promised that control of the OASIS - and his massive fortune - will go to the person who can solve the riddles he has left scattered throughout his creation.
23
+
24
+ For years, millions have struggled fruitlessly to attain this prize, knowing only that the riddles are based in the culture of the late twentieth century. And then Wade stumbles onto the key to the first puzzle. Suddenly, he finds himself pitted against thousands of competitors in a desperate race to claim the ultimate prize, a chase that soon takes on terrifying real-world dimensions - and that will leave both Wade and his world profoundly changed.