diff --git a/config/filters/index.js b/config/filters/index.js index 19fcfd85..4990316e 100644 --- a/config/filters/index.js +++ b/config/filters/index.js @@ -200,7 +200,7 @@ export default { normalized['subtext'] = `${item['plays']} plays` } if (item.type === 'movie') { - normalized['title'] = `${item['title']} (${item['year']})` + normalized['title'] = item['title'] normalized['alt'] = item['title'] normalized['rating'] = item['rating'] normalized['subtext'] = item['rating'] diff --git a/package-lock.json b/package-lock.json index 315b40f9..6af79796 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "coryd.dev", - "version": "16.5.3", + "version": "16.5.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "coryd.dev", - "version": "16.5.3", + "version": "16.5.4", "license": "MIT", "dependencies": { "@cdransf/api-text": "^1.2.2", diff --git a/package.json b/package.json index ae959067..1b1e0a48 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "16.5.3", + "version": "16.5.4", "description": "The source for my personal site. Built using 11ty.", "type": "module", "scripts": { diff --git a/src/assets/styles/base/index.css b/src/assets/styles/base/index.css index a3f38de8..a013922b 100644 --- a/src/assets/styles/base/index.css +++ b/src/assets/styles/base/index.css @@ -166,15 +166,15 @@ h6 { font-size: var(--font-size-xs) } margin: var(--sizing-md) 0 var(--sizing-lg); } + &.no-top-margin { + margin: 0 0 var(--sizing-lg); + } + &.posts { margin: 0 0 var(--sizing-lg); } } -.default-wrapper > .section-header:first-of-type { - margin-top: 0; -} - .section-header-buttons { margin: var(--sizing-3xl) 0 var(--sizing-lg); @@ -182,6 +182,10 @@ h6 { font-size: var(--font-size-xs) } margin: var(--sizing-md) 0 var(--sizing-lg); } + &.no-top-margin { + margin: 0 0 var(--sizing-lg); + } + & > button { margin-bottom: var(--sizing-sm) !important; diff --git a/src/pages/main/music/index.html b/src/pages/main/music/index.html index cf07df2e..dc189e79 100644 --- a/src/pages/main/music/index.html +++ b/src/pages/main/music/index.html @@ -16,11 +16,11 @@ schema: music {% render "partials/banners/rss.liquid", url: "https://feedpress.me/coryd-artist-charts", text: "I also have a feed of weekly artist charts I generate from this data" %} <hr class="large-spacing" /> <div class="section-header-wrapper"> - <h2 id="artists" class="section-header reduced-margin flex-centered"> + <h2 id="artists" class="section-header no-top-margin flex-centered"> {% tablericon "microphone-2" "Artists" %} Artists </h2> - <div class="section-header-buttons reduced-margin client-side"> + <div class="section-header-buttons no-top-margin client-side"> <button class="small active" data-toggle="artists-window">This week</button> <button class="small secondary" data-toggle="artists-month">This month</button> <button class="small secondary" data-toggle="artists-three-months">3 months</button> diff --git a/src/pages/main/watching/index.html b/src/pages/main/watching/index.html index 5e8c389f..d2b32215 100644 --- a/src/pages/main/watching/index.html +++ b/src/pages/main/watching/index.html @@ -12,7 +12,7 @@ schema: watching {% render "partials/banners/rss.liquid", url: "https://feedpress.me/coryd-movies", text: "Subscribe to my movies feed or follow along on this page" %} <hr class="large-spacing" /> <a class="link-icon flex-centered" href="/recent/movies"> - <h2 id="movies" class="section-header reduced-margin flex-centered"> + <h2 id="movies" class="section-header no-top-margin flex-centered"> {% tablericon "movie" "Recent movies" %} Recent movies </h2>