Commit graph

32 commits

Author SHA1 Message Date
efcdb7296e Update CSS Pipeline (#4)
All checks were successful
Build and Deploy / build_and_deploy (push) Successful in 1m19s
The goal of this change was to speed up my CSS pipeline. Previously builds would take up to 30s because it had to rebuild the CSS for every page (I inlined the CSS).

This updates the pipeline to remain somewhat the same, but offloads the busywork of computing my theme CSS (my design system in other words), and is replaced by a mostly static file (`css/global/lilypad.css`), which I can update as my design system changes.

I also offloaded several of my utility classes as I know I will want to use them in other sites I design, so it made sense to move them as well.

The new pipeline makes use of 11ty's bundle feature (newly included in 11ty v3), which allows me to bundle all my CSS together into one file. Since I know my core styles like `lilypad.css` will always remain the same, I decided to keep that inline. I use the `transforms` feature for bundling to run a PostCSS transform on the bundled output, which resolves any imports and minifies the final output.

In order to cut down my build times even further, I removed my XML minifier - it was taking upwards of 3 seconds to minify XML to probably a small benefit to end users.

Reviewed-on: #4
Co-authored-by: Devin Haska <wonderfulfrog@noreply.git.cloud.haska.me>
Co-committed-by: Devin Haska <wonderfulfrog@noreply.git.cloud.haska.me>
2025-05-30 11:16:37 -07:00
1e13bc4162 Update to latest 11ty version (3.1.0) (#2)
All checks were successful
Build and Deploy / build_and_deploy (push) Successful in 1m54s
Reviewed-on: #2
Co-authored-by: Devin Haska <wonderfulfrog@noreply.git.cloud.haska.me>
Co-committed-by: Devin Haska <wonderfulfrog@noreply.git.cloud.haska.me>
2025-05-27 22:11:42 -07:00
Devin Haska
e7df33f43c fix: add npx 2025-04-14 13:48:26 -07:00
Devin Haska
2310e52fb3 feat: replace deploy step with node script 2025-04-14 13:45:38 -07:00
Devin Haska
16f8877446 feat: update eleventy-img 2025-04-13 19:28:34 -07:00
Devin Haska
21e49e518b feat: remove no-robots plugin 2025-04-04 14:10:04 -07:00
Devin Haska
322c6709aa fix: move deps to devDeps 2025-04-04 13:51:51 -07:00
Devin Haska
2d6371e474 fix: remove unused plugin eleventy-plugin-rss 2025-04-04 13:51:19 -07:00
Devin Haska
e6cfa88f61 feat: update implementation of RSS feeds
Adds a new filter `convertRelativeLinks` that converts any relative link
to an absolute path
Adds an XML transform to minify the final output for smaller filesizes
Updates some data in meta
Adds a new macro for generating an RSS feed
2025-04-04 13:15:51 -07:00
Devin Haska
864bc7be71 feat: update postcss and related packages to latest versions 2025-03-16 11:34:54 -07:00
Devin Haska
5f8227a46b
Update to Eleventy v3 (#11)
* feat: upgrade to v3; install eleventy-upgrade-help

* feat: convert all files to esm

* feat: remove decapcms

* fix: remove unused filter

* feat: remove netlify packages

* feat: update image handling

- removes old image shortcode
- update to latest 11ty image transform plugin

* feat: update colophon

* fix: pill style; global style

Fixes an issue with <img> inside <figure> not being centered

* feat: remove linting packages

* feat: update package.json scripts

* feat: remove upgrade helper plugin

* feat: add new button style, update nav

* feat: simplify `pill` class usage

* feat: fix tag list in catalogue-item.html

* feat: move games into their own section

* feat: update node version to latest LTS

* feat: move books to their own section

* feat: move fun pages into pages dir

* feat: update index and book/game templates

* feat: add watching section

* fix: update scaling values for buttons

* feat: various css updates

* feat: update now page style

* feat: cleaning up newer posts using old shortcode

also adding markdown-it-attrs to add attrs to various markdown elements!

* fix: movie data structure

* feat: update colophon

* fix: remove text-skew from post excerpt text

* feat: add support for shows in /watching

* fix: update book tags

* feat: add complete implementation of books pages

other stuff happened too

* fix: image border-radius

* feat: update game layout and content

* feat: reorganize watching section

* feat: add contact page

* feat: small page changes

* feat: add podroll page

* feat: reorganize content directories

* feat: exclude podcasts from page output

* chore: delete guestbook page

* chore: remove bracket syntax for css classes in html

* feat: create macro for tag list

* fix: colophon update

* chore: remove last.fm data

* chore: clean up 11ty config

* fix: misc permalink fixes

* feat: add update post

* fix: media meta grid on mobile

* fix: tables on mobile

* fix: add titles to icon button links

* fix: add missing divider for movies/shows

* feat: add alternate feeds

* fix: tag cleanup

* feat: homepage content update

* fix: game meta data

* fix: update post dates

* feat: add missing link to changelog
2025-01-27 18:23:38 -08:00
Devin Haska
80086b7c39
feat: add eleventy-plugin-no-robots 2024-07-03 09:53:14 -07:00
Devin Haska
626131bc83 feat: add scheduled function to rebuild site 2024-03-19 15:53:46 -07:00
Devin Haska
e2d26a8b9a fix: various small fixes 2024-03-01 15:19:19 -08:00
Devin Haska
1d4a8416f3 feat: add html minify 2024-02-27 10:33:45 -08:00
Devin Haska
2fef5d60d8 feat: add recent movies feed 2024-02-26 10:59:17 -08:00
Devin Haska
7e42d1789d feat: update now page to use lastfm data 2024-02-25 23:47:31 -08:00
Devin Haska
79a3b66c51 feat: add dotenv package 2024-02-25 21:15:26 -08:00
Devin Haska
251ffdf1c4 feat: add quiet flag to dev script 2024-02-22 14:15:11 -08:00
Devin Haska
570309d241 fix: add missing netlify-plugin-cache package 2024-02-20 22:44:46 -08:00
Devin Haska
2cdc76cae0 feat: add netlify configuration 2024-02-20 22:42:41 -08:00
Devin Haska
aae457a611 feat: add rss feed 2024-02-19 21:33:33 -08:00
Devin Haska
1ffc6d1ede feat: various style improvements to catalogue 2024-02-17 18:10:32 -08:00
Devin Haska
b6c9a2b75c feat: move from yarn to npm 2024-02-13 22:54:59 -08:00
Devin Haska
2eed920716 feat: update tags to order by count 2024-02-11 14:31:32 -08:00
Devin Haska
dbc72a383e feat: misc cleanup 2024-02-05 16:50:11 -08:00
Devin Haska
a65a26ebe4 feat: add post layout (wip) 2024-02-03 21:33:21 -08:00
Devin Haska
ad435a16db feat: add image shortcode 2024-01-31 21:52:07 -08:00
Devin Haska
b933aae79f feat: add markdown plugins 2024-01-31 14:42:11 -08:00
Devin Haska
29872edc10 feat: add markdown-it library 2024-01-31 11:41:17 -08:00
Devin Lumley
ad0525dd29 feat: add linting 2024-01-28 16:20:10 -08:00
Devin Lumley
613ada0063 Initial commit 2024-01-28 16:00:23 -08:00