Commit graph

29 commits

Author SHA1 Message Date
8022a8f84a Integrate <ruby-switch> into the templates 2023-10-14 14:55:54 -07:00
4d14ea9ab2 Process CSS resources as lists (call {{ range }} on them)
All the CSS resource partials return lists now.
2023-07-14 08:26:42 -07:00
8029f97f9c Move all the root styles to fragment files
Create assets/styles/root to hold all the fragments of the root
stylesheet. This should make it easier to find and hack on style. Yay!
2023-05-20 07:53:22 -07:00
8296cc6e43 Fiddling with the formatting of baseof.html 2023-05-08 20:06:42 -07:00
186929921b Work in progress nethack dungeon generator background for the nethack page 2023-02-03 16:07:04 -08:00
2c1f64cbca Set the <html lang> attribute correctly 2022-11-18 07:13:18 -08:00
8fadc54a43 Move site header and footer to the base template, and override the body block in index 2022-11-15 22:12:09 -08:00
6842511b10 Remove the SRI stuff; use md5 instead of sha512 for fingerprinting since it is shorter 2022-11-15 17:24:54 -08:00
9601e1e283 Implement fingerprinting site and page resources
This will keep browsers from caching files that have changed. I've also added
SRI information to the <script> and <link> elements for browsers to verify
resources.

Squashed commit of the following:

commit f3fcb16388
Author: Eryn Wells <eryn@erynwells.me>
Date:   Tue Nov 8 17:47:42 2022 -0800

    Remove static/styles/root.css

commit 53a30624a0
Author: Eryn Wells <eryn@erynwells.me>
Date:   Tue Nov 8 17:47:26 2022 -0800

    Add back the basic table styles that got ditched when root.css was moved to assets/styles

commit 294fa8343b
Author: Eryn Wells <eryn@erynwells.me>
Date:   Tue Nov 8 17:45:38 2022 -0800

    Get all the fingerprinting done!

    - Add partials in the resources folder for each of the major resources of my site
    - Consolidate .css and .js files via resources.Concat where possible

commit d0b223fa33
Author: Eryn Wells <eryn@erynwells.me>
Date:   Mon Nov 7 08:36:39 2022 -0800

    All the template updates for fingerprinting

commit 1751abadac
Author: Eryn Wells <eryn@erynwells.me>
Date:   Mon Nov 7 08:36:27 2022 -0800

    Add secure_asset.html template

commit 94ea8068c9
Author: Eryn Wells <eryn@erynwells.me>
Date:   Mon Nov 7 08:35:48 2022 -0800

    Move a bunch of scripts and CSS to assets so they can be processed with Hugo Pipes

    Use Pipes to fingerprint and add SLI information to <script> and <link> tags.
2022-11-08 17:50:11 -08:00
73cf350b31 Add a .list class to <main> when there are .Pages 2022-10-20 07:52:27 -07:00
1df2846b6d Use relative URLs in the baseof template 2022-10-20 07:52:27 -07:00
cb6f06a70a Remove reset.css import 2022-10-15 10:18:14 -07:00
9e72b74200 Make sure CSS files are only included once 2022-10-15 10:04:04 -07:00
c48d7e0f3b Only include .FirstSection's CSS if it's not the home page 2022-10-09 17:34:51 -07:00
d1171e992f Distribute all the main.css styles to their own stylesheets and remove main.css 2022-10-09 12:16:53 -07:00
b4293bcd32 Move the main.css link to baseof and move the styles block below all the page-level links 2022-09-24 07:48:20 -07:00
c3bf9b61dd Move dark mode script to site.js 2022-09-18 13:41:29 -07:00
3fb0ef35fe Update the blog list layout 2022-09-11 10:40:25 -07:00
27154cdfc2 Break up reset and root styles into separate stylesheets and include them directly in baseof.html 2022-09-07 08:46:02 -07:00
6c915ab925 Add debug page info to the bottom left corner of the page 2022-09-07 08:44:52 -07:00
83f9550849 New home page! 2022-09-03 15:30:38 -07:00
6f21bae492 Move scripts to the bottom of the body 2022-08-27 10:09:55 -07:00
45dc56631c Remove undeferred p5 related scripts from baseof.html 2022-08-16 09:20:56 -07:00
f3a0b7ab27 Remove some stray "" 2022-03-25 23:38:15 -07:00
2e2afbdd44 Move the p5 script includes to the bottom of the <body> 2022-03-25 23:21:43 -07:00
476bac98e6 Make some variables in the base post const 2022-03-24 23:15:47 -07:00
265734bfe1 Clean up the dark mode script block 2021-12-26 13:06:22 -07:00
d4b977b1ee Statically define the social icons 2021-10-10 19:59:28 -07:00
512c8ec2da Add baseof template; move it from the theme 2021-10-10 10:31:57 -07:00