feat: reorganize watching section
This commit is contained in:
parent
8e41cb5af7
commit
8785c3d23b
16 changed files with 134 additions and 34 deletions
25
src/pages/watching/movies/recent.html
Normal file
25
src/pages/watching/movies/recent.html
Normal file
|
@ -0,0 +1,25 @@
|
|||
---
|
||||
title: Recent movies
|
||||
permalink: "watching/movies/recent/index.html"
|
||||
---
|
||||
|
||||
{% from "macros/media-grid.njk" import grid %}
|
||||
{% set data = collections.movie | reverse %}
|
||||
{% set tags = collections.movie | allTagCounts(["movie"]) | limit(5) %}
|
||||
<section class="flow">
|
||||
<h1>Recent movies</h1>
|
||||
<p>A collection of movies I've seen recently.</p>
|
||||
<h2>
|
||||
<a href="../tags">Tags</a>
|
||||
</h2>
|
||||
<ul class="[ categories ] [ cluster list-none p-0 line-height-m ]">
|
||||
{% for tag in tags %}
|
||||
<li>
|
||||
<a class="[ button ]" href="../tag/{{ tag.tag | slugify }}">
|
||||
{% include "svgs/frame.svg" %}
|
||||
{{ tag.tag }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{{ grid(data) }}
|
||||
</section>
|
Loading…
Add table
Add a link
Reference in a new issue