chore: reorganize home page to put media + activity in single section
This commit is contained in:
parent
965c48fc3e
commit
0ccc749cd8
5 changed files with 85 additions and 92 deletions
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "3.7.4",
|
"version": "3.8.4",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "3.7.4",
|
"version": "3.8.4",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"html-minifier-terser": "7.2.0",
|
"html-minifier-terser": "7.2.0",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "3.7.4",
|
"version": "3.8.4",
|
||||||
"description": "The source for my personal site. Built using 11ty (and other tools).",
|
"description": "The source for my personal site. Built using 11ty (and other tools).",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|
|
@ -1,8 +1,3 @@
|
||||||
<article>
|
|
||||||
<h2>
|
|
||||||
{% tablericon "activity" %}
|
|
||||||
Recent activity
|
|
||||||
</h2>
|
|
||||||
{%- for item in items -%}
|
{%- for item in items -%}
|
||||||
<article class="{{ item.type }}">
|
<article class="{{ item.type }}">
|
||||||
<aside>
|
<aside>
|
||||||
|
@ -59,4 +54,3 @@
|
||||||
%}
|
%}
|
||||||
</article>
|
</article>
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
</article>
|
|
||||||
|
|
|
@ -1,9 +1,3 @@
|
||||||
<article>
|
|
||||||
<h2>
|
|
||||||
{% tablericon "activity" %}
|
|
||||||
Recent media
|
|
||||||
</h2>
|
|
||||||
<p>My top <a href="/music/this-week/artists/" class="music">artists</a>, <a href="/music/this-week/albums/" class="music">albums</a>, recently <a href="/books/years/{{ "now" | date: "%Y" }}/" class="books">read books</a>, watched <a href="/watching/recent/movies/" class="tv">movies</a> and <a href="/watching/recent/shows/" class="tv">shows</a>. A living snapshot, if you will.</p>
|
|
||||||
{% render "media/grid.liquid",
|
{% render "media/grid.liquid",
|
||||||
globals:globals,
|
globals:globals,
|
||||||
data:media.recentMusic,
|
data:media.recentMusic,
|
||||||
|
@ -17,6 +11,5 @@
|
||||||
%}
|
%}
|
||||||
{% render "blocks/banners/rss.liquid",
|
{% render "blocks/banners/rss.liquid",
|
||||||
url:"/feeds",
|
url:"/feeds",
|
||||||
text:"Subscribe to my movies, books, links or activity feed(s)"
|
text:"Subscribe to my posts, movies, books, links or activity feed(s)"
|
||||||
%}
|
%}
|
||||||
</article>
|
|
||||||
|
|
|
@ -6,6 +6,11 @@ updated: "now"
|
||||||
intro:globals.intro,
|
intro:globals.intro,
|
||||||
nowPlaying:nowPlaying.content
|
nowPlaying:nowPlaying.content
|
||||||
%}
|
%}
|
||||||
|
<article>
|
||||||
|
<h2>
|
||||||
|
{% tablericon "activity" %}
|
||||||
|
Recent activity
|
||||||
|
</h2>
|
||||||
{% render "home/recent-media.liquid"
|
{% render "home/recent-media.liquid"
|
||||||
media:recentMedia,
|
media:recentMedia,
|
||||||
globals:globals
|
globals:globals
|
||||||
|
@ -13,3 +18,4 @@ updated: "now"
|
||||||
{% render "home/recent-activity.liquid"
|
{% render "home/recent-activity.liquid"
|
||||||
items:recentActivity
|
items:recentActivity
|
||||||
%}
|
%}
|
||||||
|
</article>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue