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>
|
||||
<main id="content">
|
||||
<section>
|
||||
<header style="margin-bottom: 30px;">
|
||||
<header class="cluster s1 spacing:between" style="align-items: center; margin-bottom: 10px">
|
||||
<h1>Comedy</h1>
|
||||
<a class="button button:large" href="https://caalden.github.io/film/genres">Back to Genres</a>
|
||||
</header>
|
||||
|
||||
|
||||
<section>
|
||||
<header class="cluster spacing:between p1" style="align-items: flex-end;">
|
||||
<h2></h2>
|
||||
<a href="" class="button button:large">See more</a>
|
||||
<div class="cards">
|
||||
<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 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>
|
||||
</section>
|
||||
|
||||
</section>
|
||||
|
||||
</main><footer>
|
||||
|
|
|
|||
|
|
@ -35,33 +35,57 @@
|
|||
</header>
|
||||
<main id="content">
|
||||
<section>
|
||||
<header style="margin-bottom: 30px;">
|
||||
<header class="cluster s1 spacing:between" style="align-items: center; margin-bottom: 10px">
|
||||
<h1>Drama</h1>
|
||||
<a class="button button:large" href="https://caalden.github.io/film/genres">Back to Genres</a>
|
||||
</header>
|
||||
|
||||
|
||||
<section>
|
||||
<header class="cluster spacing:between p1" style="align-items: flex-end;">
|
||||
<h2></h2>
|
||||
<a href="" class="button button:large">See more</a>
|
||||
<div class="cards">
|
||||
<div class="card">
|
||||
<div class="card-image">
|
||||
<img class="card-image" src=https://m.media-amazon.com/images/M/MV5BMTI1NzQ5MzU1OV5BMl5BanBnXkFtZTcwNzExODU0MQ@@._V1_SX800.jpg alt="No Reservations" />
|
||||
</div>
|
||||
<section class="card-content">
|
||||
<header>
|
||||
<h3 class="subtitle">No Reservations</h3>
|
||||
</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>
|
||||
</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>
|
||||
<span></span>
|
||||
</footer>
|
||||
|
|
|
|||
|
|
@ -35,33 +35,57 @@
|
|||
</header>
|
||||
<main id="content">
|
||||
<section>
|
||||
<header style="margin-bottom: 30px;">
|
||||
<header class="cluster s1 spacing:between" style="align-items: center; margin-bottom: 10px">
|
||||
<h1>Romance</h1>
|
||||
<a class="button button:large" href="https://caalden.github.io/film/genres">Back to Genres</a>
|
||||
</header>
|
||||
|
||||
|
||||
<section>
|
||||
<header class="cluster spacing:between p1" style="align-items: flex-end;">
|
||||
<h2></h2>
|
||||
<a href="" class="button button:large">See more</a>
|
||||
<div class="cards">
|
||||
<div class="card">
|
||||
<div class="card-image">
|
||||
<img class="card-image" src=https://m.media-amazon.com/images/M/MV5BMTI1NzQ5MzU1OV5BMl5BanBnXkFtZTcwNzExODU0MQ@@._V1_SX800.jpg alt="No Reservations" />
|
||||
</div>
|
||||
<section class="card-content">
|
||||
<header>
|
||||
<h3 class="subtitle">No Reservations</h3>
|
||||
</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>
|
||||
</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>
|
||||
<span></span>
|
||||
</footer>
|
||||
|
|
|
|||
|
|
@ -1,21 +1,13 @@
|
|||
{{define "main"}}
|
||||
<section>
|
||||
<header style="margin-bottom: 30px;">
|
||||
<header class="cluster s1 spacing:between" style="align-items: center; margin-bottom: 10px">
|
||||
<h1>{{.Title}}</h1>
|
||||
<a class="button button:large" href="{{.Site.BaseURL}}genres">Back to Genres</a>
|
||||
</header>
|
||||
|
||||
<div class="cards">
|
||||
{{ 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" }}
|
||||
{{- .Render "summary" -}}
|
||||
{{ end }}
|
||||
</div>
|
||||
</section>
|
||||
{{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