PUBLISH: improve specific genre list pages
This commit is contained in:
parent
4f5f2834b2
commit
bb1d2e5761
5 changed files with 147 additions and 73 deletions
|
|
@ -35,21 +35,34 @@
|
||||||
</header>
|
</header>
|
||||||
<main id="content">
|
<main id="content">
|
||||||
<section>
|
<section>
|
||||||
<header style="margin-bottom: 30px;">
|
<header class="cluster s1 spacing:between" style="align-items: center; margin-bottom: 10px">
|
||||||
<h1>Comedy</h1>
|
<h1>Comedy</h1>
|
||||||
|
<a class="button button:large" href="https://caalden.github.io/film/genres">Back to Genres</a>
|
||||||
</header>
|
</header>
|
||||||
|
<div class="cards">
|
||||||
|
<div class="card">
|
||||||
<section>
|
<div class="card-image">
|
||||||
<header class="cluster spacing:between p1" style="align-items: flex-end;">
|
<img class="card-image" src=https://m.media-amazon.com/images/M/MV5BNmQxZTNiODYtNzBhYy00MzVlLWJlN2UtNTc4YWZjMDIwMmEzXkEyXkFqcGdeQXVyMTkxNjUyNQ@@._V1_SX800.jpg alt="The French Dispatch" />
|
||||||
<h2></h2>
|
</div>
|
||||||
<a href="" class="button button:large">See more</a>
|
<section class="card-content">
|
||||||
|
<header>
|
||||||
|
<h3 class="subtitle">The French Dispatch</h3>
|
||||||
</header>
|
</header>
|
||||||
<div class="carasol">
|
<div style="text-align: justify;">Authors for a New Yorker-esque magazine report on a small town in France</div>
|
||||||
|
<div class="cluster spacing:between">
|
||||||
|
<div class="cluster s1 align:center">
|
||||||
|
<img src="https://caalden.github.io/film/imdb-logo-small.png" class="icon" alt="imbd logo">
|
||||||
|
<span class="numbers">7.2</span>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<a class="button" href="/film/reviews/the-french-dispatch/">
|
||||||
|
Read review
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</section>
|
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
</main><footer>
|
</main><footer>
|
||||||
|
|
|
||||||
|
|
@ -35,33 +35,57 @@
|
||||||
</header>
|
</header>
|
||||||
<main id="content">
|
<main id="content">
|
||||||
<section>
|
<section>
|
||||||
<header style="margin-bottom: 30px;">
|
<header class="cluster s1 spacing:between" style="align-items: center; margin-bottom: 10px">
|
||||||
<h1>Drama</h1>
|
<h1>Drama</h1>
|
||||||
|
<a class="button button:large" href="https://caalden.github.io/film/genres">Back to Genres</a>
|
||||||
</header>
|
</header>
|
||||||
|
<div class="cards">
|
||||||
|
<div class="card">
|
||||||
<section>
|
<div class="card-image">
|
||||||
<header class="cluster spacing:between p1" style="align-items: flex-end;">
|
<img class="card-image" src=https://m.media-amazon.com/images/M/MV5BMTI1NzQ5MzU1OV5BMl5BanBnXkFtZTcwNzExODU0MQ@@._V1_SX800.jpg alt="No Reservations" />
|
||||||
<h2></h2>
|
</div>
|
||||||
<a href="" class="button button:large">See more</a>
|
<section class="card-content">
|
||||||
|
<header>
|
||||||
|
<h3 class="subtitle">No Reservations</h3>
|
||||||
</header>
|
</header>
|
||||||
<div class="carasol">
|
<div style="text-align: justify;">A NY City chef and her recently adopted niece adapt to their life together</div>
|
||||||
|
<div class="cluster spacing:between">
|
||||||
|
<div class="cluster s1 align:center">
|
||||||
|
<img src="https://caalden.github.io/film/imdb-logo-small.png" class="icon" alt="imbd logo">
|
||||||
|
<span class="numbers">6.3</span>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<a class="button" href="/film/reviews/no-reservations/">
|
||||||
|
Read review
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="card">
|
||||||
|
<div class="card-image">
|
||||||
|
<img class="card-image" src=https://m.media-amazon.com/images/M/MV5BNmQxZTNiODYtNzBhYy00MzVlLWJlN2UtNTc4YWZjMDIwMmEzXkEyXkFqcGdeQXVyMTkxNjUyNQ@@._V1_SX800.jpg alt="The French Dispatch" />
|
||||||
|
</div>
|
||||||
|
<section class="card-content">
|
||||||
|
<header>
|
||||||
|
<h3 class="subtitle">The French Dispatch</h3>
|
||||||
|
</header>
|
||||||
|
<div style="text-align: justify;">Authors for a New Yorker-esque magazine report on a small town in France</div>
|
||||||
|
<div class="cluster spacing:between">
|
||||||
|
<div class="cluster s1 align:center">
|
||||||
|
<img src="https://caalden.github.io/film/imdb-logo-small.png" class="icon" alt="imbd logo">
|
||||||
|
<span class="numbers">7.2</span>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<a class="button" href="/film/reviews/the-french-dispatch/">
|
||||||
|
Read review
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section>
|
|
||||||
<header class="cluster spacing:between p1" style="align-items: flex-end;">
|
|
||||||
<h2></h2>
|
|
||||||
<a href="" class="button button:large">See more</a>
|
|
||||||
</header>
|
|
||||||
<div class="carasol">
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
</section>
|
|
||||||
|
|
||||||
</main><footer>
|
</main><footer>
|
||||||
<span></span>
|
<span></span>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
||||||
|
|
@ -35,33 +35,57 @@
|
||||||
</header>
|
</header>
|
||||||
<main id="content">
|
<main id="content">
|
||||||
<section>
|
<section>
|
||||||
<header style="margin-bottom: 30px;">
|
<header class="cluster s1 spacing:between" style="align-items: center; margin-bottom: 10px">
|
||||||
<h1>Romance</h1>
|
<h1>Romance</h1>
|
||||||
|
<a class="button button:large" href="https://caalden.github.io/film/genres">Back to Genres</a>
|
||||||
</header>
|
</header>
|
||||||
|
<div class="cards">
|
||||||
|
<div class="card">
|
||||||
<section>
|
<div class="card-image">
|
||||||
<header class="cluster spacing:between p1" style="align-items: flex-end;">
|
<img class="card-image" src=https://m.media-amazon.com/images/M/MV5BMTI1NzQ5MzU1OV5BMl5BanBnXkFtZTcwNzExODU0MQ@@._V1_SX800.jpg alt="No Reservations" />
|
||||||
<h2></h2>
|
</div>
|
||||||
<a href="" class="button button:large">See more</a>
|
<section class="card-content">
|
||||||
|
<header>
|
||||||
|
<h3 class="subtitle">No Reservations</h3>
|
||||||
</header>
|
</header>
|
||||||
<div class="carasol">
|
<div style="text-align: justify;">A NY City chef and her recently adopted niece adapt to their life together</div>
|
||||||
|
<div class="cluster spacing:between">
|
||||||
|
<div class="cluster s1 align:center">
|
||||||
|
<img src="https://caalden.github.io/film/imdb-logo-small.png" class="icon" alt="imbd logo">
|
||||||
|
<span class="numbers">6.3</span>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<a class="button" href="/film/reviews/no-reservations/">
|
||||||
|
Read review
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="card">
|
||||||
|
<div class="card-image">
|
||||||
|
<img class="card-image" src=https://m.media-amazon.com/images/M/MV5BNmQxZTNiODYtNzBhYy00MzVlLWJlN2UtNTc4YWZjMDIwMmEzXkEyXkFqcGdeQXVyMTkxNjUyNQ@@._V1_SX800.jpg alt="The French Dispatch" />
|
||||||
|
</div>
|
||||||
|
<section class="card-content">
|
||||||
|
<header>
|
||||||
|
<h3 class="subtitle">The French Dispatch</h3>
|
||||||
|
</header>
|
||||||
|
<div style="text-align: justify;">Authors for a New Yorker-esque magazine report on a small town in France</div>
|
||||||
|
<div class="cluster spacing:between">
|
||||||
|
<div class="cluster s1 align:center">
|
||||||
|
<img src="https://caalden.github.io/film/imdb-logo-small.png" class="icon" alt="imbd logo">
|
||||||
|
<span class="numbers">7.2</span>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<a class="button" href="/film/reviews/the-french-dispatch/">
|
||||||
|
Read review
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section>
|
|
||||||
<header class="cluster spacing:between p1" style="align-items: flex-end;">
|
|
||||||
<h2></h2>
|
|
||||||
<a href="" class="button button:large">See more</a>
|
|
||||||
</header>
|
|
||||||
<div class="carasol">
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
</section>
|
|
||||||
|
|
||||||
</main><footer>
|
</main><footer>
|
||||||
<span></span>
|
<span></span>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
||||||
|
|
@ -1,21 +1,13 @@
|
||||||
{{define "main"}}
|
{{define "main"}}
|
||||||
<section>
|
<section>
|
||||||
<header style="margin-bottom: 30px;">
|
<header class="cluster s1 spacing:between" style="align-items: center; margin-bottom: 10px">
|
||||||
<h1>{{.Title}}</h1>
|
<h1>{{.Title}}</h1>
|
||||||
|
<a class="button button:large" href="{{.Site.BaseURL}}genres">Back to Genres</a>
|
||||||
</header>
|
</header>
|
||||||
|
<div class="cards">
|
||||||
{{ range .Pages }}
|
{{ range .Pages }}
|
||||||
<section>
|
{{- .Render "summary" -}}
|
||||||
<header class="cluster spacing:between p1" style="align-items: flex-end;">
|
|
||||||
<h2>{{.Data.Term}}</h2>
|
|
||||||
<a href="{{ .Data.Term | urlize }}" class="button button:large">See more</a>
|
|
||||||
</header>
|
|
||||||
<div class="carasol">
|
|
||||||
{{range first 25 .Data.Pages | shuffle }}
|
|
||||||
{{ .Render "summary" }}
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
{{end}}
|
{{end}}
|
||||||
</section>
|
|
||||||
{{ end }}
|
|
||||||
|
|
|
||||||
21
layouts/_default/terms.html
Normal file
21
layouts/_default/terms.html
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
{{ define "main"}}
|
||||||
|
<section>
|
||||||
|
<header style="margin-bottom: 30px;">
|
||||||
|
<h1>{{.Title}}</h1>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
{{range .Pages }}
|
||||||
|
<section>
|
||||||
|
<header class="cluster spacing:between p1" style="align-items: flex-end;">
|
||||||
|
<h2>{{.Data.Term}}</h2>
|
||||||
|
<a href="{{ .Data.Term | urlize }}" class="button button:large">See more</a>
|
||||||
|
</header>
|
||||||
|
<div class="carasol">
|
||||||
|
{{range first 25 .Data.Pages | shuffle }}
|
||||||
|
{{ .Render "summary" }}
|
||||||
|
{{end}}
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
{{end}}
|
||||||
|
</section>
|
||||||
|
{{ end }}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue