diff --git a/docs/a-z/index.html b/docs/a-z/index.html index 0d09d65..6e3cb89 100644 --- a/docs/a-z/index.html +++ b/docs/a-z/index.html @@ -63,7 +63,7 @@
- Beverly Hills Cop + Poster forBeverly Hills Cop
@@ -96,7 +96,7 @@
- Fright Night + Poster forFright Night @@ -135,7 +135,7 @@
- Holes + Poster forHoles @@ -174,7 +174,7 @@
- In Time + Poster forIn Time
@@ -207,7 +207,7 @@
- Kingsman: The Secret Service + Poster forKingsman: The Secret Service
@@ -240,7 +240,7 @@
- No Reservations + Poster forNo Reservations
@@ -264,7 +264,7 @@
diff --git a/docs/genres/comedy/index.html b/docs/genres/comedy/index.html index eb30b74..b17a878 100644 --- a/docs/genres/comedy/index.html +++ b/docs/genres/comedy/index.html @@ -51,9 +51,10 @@ Back to Genres
-
+ +
- Now You See Me 2 + Poster forNow You See Me 2
@@ -73,9 +74,11 @@
-
+ + +
- Beverly Hills Cop + Poster forBeverly Hills Cop
@@ -95,9 +98,11 @@
- -
+ + +
- Kingsman: The Secret Service + Poster forKingsman: The Secret Service
@@ -145,9 +152,11 @@
-
+ + +
- The French Dispatch + Poster forThe French Dispatch
@@ -168,6 +177,7 @@
+
diff --git a/docs/genres/crime/index.html b/docs/genres/crime/index.html index 541e162..06d28cf 100644 --- a/docs/genres/crime/index.html +++ b/docs/genres/crime/index.html @@ -51,9 +51,10 @@ Back to Genres
- -
+ + +
- Beverly Hills Cop + Poster forBeverly Hills Cop
@@ -102,6 +105,7 @@
+
diff --git a/docs/genres/drama/index.html b/docs/genres/drama/index.html index 634e959..773d134 100644 --- a/docs/genres/drama/index.html +++ b/docs/genres/drama/index.html @@ -51,9 +51,10 @@ Back to Genres
-
+ +
- Whisper of the Heart + Poster forWhisper of the Heart
@@ -73,9 +74,11 @@
-
+ + +
-
+ + +
- No Reservations + Poster forNo Reservations
@@ -123,9 +128,11 @@
-
+ + +
- The French Dispatch + Poster forThe French Dispatch
@@ -146,6 +153,7 @@
+ diff --git a/docs/genres/family/index.html b/docs/genres/family/index.html index a4d443d..e42d5cf 100644 --- a/docs/genres/family/index.html +++ b/docs/genres/family/index.html @@ -51,9 +51,10 @@
Back to Genres
-
+ +
- Whisper of the Heart + Poster forWhisper of the Heart
@@ -74,6 +75,7 @@
+
diff --git a/docs/genres/horror/index.html b/docs/genres/horror/index.html index 777eaa2..af6e562 100644 --- a/docs/genres/horror/index.html +++ b/docs/genres/horror/index.html @@ -51,9 +51,10 @@ Back to Genres
-
+ + +
diff --git a/docs/genres/index.html b/docs/genres/index.html index a9d95b2..eaee8dc 100644 --- a/docs/genres/index.html +++ b/docs/genres/index.html @@ -60,7 +60,31 @@
- In Time + Poster forNow You See Me 2 + +
+
+
+

Now You See Me 2

+
+
A group of magicians are coerced into pulling off another heist
+
+
+ + +
+
+ Poster forIn Time
@@ -84,7 +108,7 @@
- Fright Night + Poster forFright Night @@ -114,31 +138,7 @@ - - -
-
- Beverly Hills Cop + Poster forBeverly Hills Cop
@@ -162,21 +162,21 @@
- Now You See Me 2 + Poster forKingsman: The Secret Service
-

Now You See Me 2

+

Kingsman: The Secret Service

-
A group of magicians are coerced into pulling off another heist
+
A secret British spy agency unravels a billionaire’s evil plot
Rating: - 2/5 + 4/5
@@ -196,7 +196,7 @@
- Fright Night + Poster forFright Night @@ -236,7 +236,7 @@
- In Time + Poster forIn Time
@@ -270,31 +270,7 @@ - - -
@@ -334,27 +334,21 @@
-

Holes

+

Kingsman: The Secret Service

-
A boy is sent to a juvenile work camp as punishment after being mistakenly arrested.
+
A secret British spy agency unravels a billionaire’s evil plot
Rating: - 3/5 + 4/5
@@ -364,7 +358,7 @@
- Now You See Me 2 + Poster forNow You See Me 2
@@ -388,21 +382,27 @@
-

Kingsman: The Secret Service

+

Holes

-
A secret British spy agency unravels a billionaire’s evil plot
+
A boy is sent to a juvenile work camp as punishment after being mistakenly arrested.
Rating: - 4/5 + 3/5
@@ -422,79 +422,7 @@
- The French Dispatch - -
-
-
-

The French Dispatch

-
-
Authors for a New Yorker-esque magazine report on a small town in France
-
-
- Rating: - 4/5 -
- -
-
- - -
-
- Now You See Me 2 - -
-
-
-

Now You See Me 2

-
-
A group of magicians are coerced into pulling off another heist
-
-
- Rating: - 2/5 -
- -
-
- - -
-
- Kingsman: The Secret Service - -
-
-
-

Kingsman: The Secret Service

-
-
A secret British spy agency unravels a billionaire’s evil plot
-
-
- Rating: - 4/5 -
- -
-
- - -
-
- Holes + Poster forHoles @@ -524,7 +452,7 @@
- Beverly Hills Cop + Poster forBeverly Hills Cop
@@ -546,6 +474,78 @@
+
+ + +
+
+ Poster forKingsman: The Secret Service + +
+
+
+

Kingsman: The Secret Service

+
+
A secret British spy agency unravels a billionaire’s evil plot
+
+
+ Rating: + 4/5 +
+ +
+
+ + +
+
+ Poster forThe French Dispatch + +
+
+
+

The French Dispatch

+
+
Authors for a New Yorker-esque magazine report on a small town in France
+
+
+ Rating: + 4/5 +
+ +
+
+ +
@@ -558,7 +558,7 @@
- Whisper of the Heart + Poster forWhisper of the Heart
@@ -582,7 +582,31 @@
- Holes + Poster forThe French Dispatch + +
+
+
+

The French Dispatch

+
+
Authors for a New Yorker-esque magazine report on a small town in France
+
+
+ Rating: + 4/5 +
+ +
+
+ + +
+
+ Poster forHoles @@ -612,31 +636,7 @@ - - -
-
- No Reservations + Poster forNo Reservations
@@ -670,7 +670,7 @@
- Whisper of the Heart + Poster forWhisper of the Heart
@@ -704,31 +704,7 @@
- No Reservations - -
-
-
-

No Reservations

-
-
A NY City chef and her recently adopted niece adapt to their life together
-
-
- Rating: - 3/5 -
- -
-
- - -
-
- The French Dispatch + Poster forThe French Dispatch
@@ -752,7 +728,31 @@
- Whisper of the Heart + Poster forNo Reservations + +
+
+
+

No Reservations

+
+
A NY City chef and her recently adopted niece adapt to their life together
+
+
+ Rating: + 3/5 +
+ +
+
+ + +
diff --git a/docs/genres/sci-fi/index.html b/docs/genres/sci-fi/index.html index dbf7195..45c2c5e 100644 --- a/docs/genres/sci-fi/index.html +++ b/docs/genres/sci-fi/index.html @@ -51,9 +51,10 @@ Back to Genres
-
+ +
- In Time + Poster forIn Time
@@ -74,6 +75,7 @@
+
diff --git a/docs/genres/thriller/index.html b/docs/genres/thriller/index.html index fca59c4..fb77b20 100644 --- a/docs/genres/thriller/index.html +++ b/docs/genres/thriller/index.html @@ -51,9 +51,10 @@ Back to Genres
-
+ +
- In Time + Poster forIn Time
@@ -73,9 +74,11 @@
-
diff --git a/docs/index.html b/docs/index.html index 511ba02..4ef2847 100644 --- a/docs/index.html +++ b/docs/index.html @@ -123,9 +123,10 @@ - -
+ + +
- In Time + Poster forIn Time
@@ -173,9 +176,11 @@
-
+ + +
- Now You See Me 2 + Poster forNow You See Me 2
@@ -195,9 +200,11 @@
-
+ + +
- Whisper of the Heart + Poster forWhisper of the Heart
@@ -217,9 +224,11 @@
- -
+ + +
- Beverly Hills Cop + Poster forBeverly Hills Cop
@@ -267,9 +278,11 @@
- -
+ + +
- Kingsman: The Secret Service + Poster forKingsman: The Secret Service
@@ -317,9 +332,11 @@
-
+ + +
- No Reservations + Poster forNo Reservations
@@ -339,9 +356,11 @@
-
+ + +
- The French Dispatch + Poster forThe French Dispatch
@@ -362,6 +381,7 @@
+ diff --git a/layouts/_default/eager_summary.html b/layouts/_default/eager_summary.html new file mode 100644 index 0000000..c0954ea --- /dev/null +++ b/layouts/_default/eager_summary.html @@ -0,0 +1,31 @@ +
+ +
+
+

+ {{- .Title | truncate 50 "..." -}} +

+
+
+ {{- .Summary | truncate 90 "..." -}} +
+
+
+ Rating: + {{ .Params.rating }}/5 +
+ +
+
diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html index b394a2e..831f265 100644 --- a/layouts/_default/summary.html +++ b/layouts/_default/summary.html @@ -1,6 +1,6 @@
- {{- .Title -}} + Poster for {{- .Title -}} {{ if .Params.favorite }} diff --git a/layouts/_default/taxonomy.html b/layouts/_default/taxonomy.html index ec2a83d..3fc13af 100644 --- a/layouts/_default/taxonomy.html +++ b/layouts/_default/taxonomy.html @@ -5,8 +5,12 @@ Back to Genres
- {{ range .Pages }} - {{- .Render "summary" -}} + {{ range $index, $element := .Pages }} + {{ if gt 3 $index}} + {{- $element.Render "eager_summary" -}} + {{ else }} + {{- $element.Render "summary" -}} + {{end}} {{ end }}
diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html index ab51d36..4a0ecbd 100644 --- a/layouts/_default/terms.html +++ b/layouts/_default/terms.html @@ -11,8 +11,12 @@ See more
- {{range first 25 .Data.Pages | shuffle }} - {{ .Render "summary" }} + {{range $index, $element := (first 25 .Data.Pages | shuffle) }} + {{ if gt 3 $index}} + {{- $element.Render "eager_summary" -}} + {{ else }} + {{- $element.Render "summary" -}} + {{end}} {{end}}
diff --git a/layouts/index.html b/layouts/index.html index d672981..62f571d 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -32,8 +32,12 @@
{{ range (where .Site.Pages "Section" "reviews") }} - {{ range .Pages }} - {{- .Render "summary" -}} + {{ range $index, $element := .Pages }} + {{ if gt 3 $index}} + {{- $element.Render "eager_summary" -}} + {{ else }} + {{- $element.Render "summary" -}} + {{end}} {{ end }} {{ end }}
diff --git a/layouts/lists/a-z.html b/layouts/lists/a-z.html index eda46a9..fefe8a9 100644 --- a/layouts/lists/a-z.html +++ b/layouts/lists/a-z.html @@ -29,8 +29,12 @@

{{$key}}

- {{range sort $items "Title" }} - {{ .Render "summary" }} + {{range $index, $element := (sort $items "Title") }} + {{ if gt 3 $index}} + {{- $element.Render "eager_summary" -}} + {{ else }} + {{- $element.Render "summary" -}} + {{end}} {{end}}
diff --git a/layouts/lists/favorites.html b/layouts/lists/favorites.html index 1e13864..e381aa8 100644 --- a/layouts/lists/favorites.html +++ b/layouts/lists/favorites.html @@ -8,8 +8,12 @@
{{ range (where .Site.Pages "Section" "reviews") }} - {{ range (where .Pages ".Params.favorite" "==" true) }} - {{- .Render "summary" -}} + {{ range $index, $element := (where .Pages ".Params.favorite" "==" true) }} + {{ if gt 3 $index}} + {{- $element.Render "eager_summary" -}} + {{ else }} + {{- $element.Render "summary" -}} + {{end}} {{ end }} {{ end }}