diff --git a/src/_includes/book-year.liquid b/src/_includes/book-year.liquid index 3aadcf3a..a1b78c52 100644 --- a/src/_includes/book-year.liquid +++ b/src/_includes/book-year.liquid @@ -1,7 +1,9 @@ --- layout: default --- +{% assign bookData = books | bookStatus: 'finished' | bookFinishedYear: year %} +<p><a class="link-arrow flex-centered" href="/books">{% tablericon "arrow-left" "Go back" %} Go back</a></p> <h2 class="page-header">{{ title }}</h2> {{ content }} -{% assign bookData = books | bookStatus: 'finished' | bookFinishedYear: year %} +<hr class="large-spacing" /> {% render "partials/now/media-grid.liquid", data:bookData, shape: "vertical", count: 200 %} \ No newline at end of file diff --git a/src/_includes/partials/home/posts.liquid b/src/_includes/partials/home/posts.liquid index 9d8b111b..0bc15d2b 100644 --- a/src/_includes/partials/home/posts.liquid +++ b/src/_includes/partials/home/posts.liquid @@ -23,6 +23,6 @@ </article> {% endfor %} {% if postType != 'featured' %} - <a class="view-all flex-centered" href="/posts">View all posts {% tablericon "arrow-right" "View all posts" %}</a> + <a class="link-arrow flex-centered" href="/posts">View all posts {% tablericon "arrow-right" "View all posts" %}</a> {% endif %} </div> \ No newline at end of file diff --git a/src/assets/styles/base/index.css b/src/assets/styles/base/index.css index 016150cf..0a1a17bf 100644 --- a/src/assets/styles/base/index.css +++ b/src/assets/styles/base/index.css @@ -283,13 +283,13 @@ a svg:focus { stroke: var(--accent-color-hover); } -a.view-all svg { +a.link-arrow svg { stroke: var(--accent-color); } -a.view-all:hover svg, -a.view-all:active svg, -a.view-all:focus svg { +a.link-arrow:hover svg, +a.link-arrow:active svg, +a.link-arrow:focus svg { transform: rotate(0deg); stroke: var(--accent-color-hover); } diff --git a/src/pages/books/years/2023.html b/src/pages/books/years/2023.html index 55d93e93..ebcf1ba9 100644 --- a/src/pages/books/years/2023.html +++ b/src/pages/books/years/2023.html @@ -4,5 +4,4 @@ year: 2023 layout: book-year permalink: "/books/years/2023.html" --- -<p>This is everything I've read in 2023. My favorites were: <em>Stay True</em>, <em>Where Are Your Boys Tonight?</em>, <em>Trouble Boys</em>, <em>Tracers in the Dark</em> and <em>Girl in a Band</em>.</p> -<hr class="large-spacing" /> \ No newline at end of file +<p>This is everything I've read in 2023. My favorites were: <em>Stay True</em>, <em>Where Are Your Boys Tonight?</em>, <em>Trouble Boys</em>, <em>Tracers in the Dark</em> and <em>Girl in a Band</em>.</p> \ No newline at end of file diff --git a/src/pages/books/years/2024.html b/src/pages/books/years/2024.html index 08c44f54..d0d029d8 100644 --- a/src/pages/books/years/2024.html +++ b/src/pages/books/years/2024.html @@ -4,5 +4,4 @@ year: 2024 layout: book-year permalink: "/books/years/2024.html" --- -<p>This is everything I've read in 2024 — continuing my trend of concentrating on science fiction, tech coverage, pop sci, autobiographies and coverage of musicians I appreciate.</p> -<hr class="large-spacing" /> \ No newline at end of file +<p>This is everything I've read in 2024 — continuing my trend of concentrating on science fiction, tech coverage, pop sci, autobiographies and coverage of musicians I appreciate.</p> \ No newline at end of file