Commit graph

63 commits

Author SHA1 Message Date
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
81c04c7b5e Add a blank rss_item.rss template as a catch-all for pages that should not be in the feed 2022-11-05 23:59:13 -07:00
e15c8488a5 Move index templates up to layouts/ 2022-11-05 23:57:52 -07:00
2f3d133dda Break up the RSS template into item templates, like I did for atom 2022-11-05 13:21:09 -07:00
7dcfc12ec7 Generate a feed.atom too 2022-11-04 08:01:07 -07:00
3ef4c7eb1b Add a set of templates to generate an Atom feed! 2022-11-03 09:16:25 -07:00
cf5d8755ac Add photo thumbnail, category, series, and tags to RSS items 2022-11-02 09:14:47 -07:00
fd4ab996c5 Use .HasShortcode instead of setting the "includes_" variables in .Page.Store 2022-10-31 07:49:31 -07:00
acb1cf3c35 Use .Page.Store instead of .Page.Scratch for conditional includes of support JS
I saw this on one of the Hugo documentation pages, so I copied it. I am not sure what the difference is.
2022-10-30 11:39:33 -07:00
782f613d5a Fix up the home page; make the font size bigger; clean up the layout 2022-10-25 17:33:03 -04:00
d738354e41 Default single.html template cleanup 2022-10-21 11:10:23 -07:00
23fc76b1f5 Move the li_grid_with_date template to blog/ 2022-10-21 11:07:05 -07: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
2cd2b89be4 Create a content template for blog post <li> items that use CSS grid 2022-10-15 10:14:48 -07:00
d1fbd6e344 Get these term and terms templates right 2022-10-15 10:14:48 -07:00
9e72b74200 Make sure CSS files are only included once 2022-10-15 10:04:04 -07:00
a68540a5c5 Remove jsonify <pre> block from terms template 2022-10-11 07:44:01 -07:00
d5cca94024 Commit term and terms templates 2022-10-10 13:02:23 -07:00
c48d7e0f3b Only include .FirstSection's CSS if it's not the home page 2022-10-09 17:34:51 -07:00
ebb71c71ba Fix a little merge issue 2022-10-09 13:27:12 -07:00
9ae600d8ce Merge branch 'redesign' 2022-10-09 12:55:01 -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
16201877f4 Move single page scripts to a scripts block 2022-09-26 13:21:43 -07:00
c47444925c Remove unnecessary classes and data attributes from <body> 2022-09-26 13:21:01 -07:00
f1c56b0eb6 Move the {{ end }} tag to the right place in the index template 2022-09-25 08:33:56 -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
3d7aa7a092 Add a JSON output format to single pages so they can be fetched async with JS 2022-09-24 07:46:16 -07:00
21cab74651 Remove link to main.css from single page template 2022-09-24 07:45:29 -07:00
c3bf9b61dd Move dark mode script to site.js 2022-09-18 13:41:29 -07:00
257c48039b Move post specific markup to the single template 2022-09-11 10:43:08 -07:00
3fb0ef35fe Update the blog list layout 2022-09-11 10:40:25 -07:00
2ebd743ce5 Draw a platter around the home page layout 2022-09-11 10:39:06 -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
bac231ee18 Rename the RSS template so it gets picked up as the RSS feed template 2022-05-05 20:25:43 -07:00
7efd9a3bd6 Redo all the RSS -> feeds go to feed.rss now! 2022-05-05 13:17:37 -07:00
ce60159540 Rename RSS feedl to be feed.rss 2022-05-05 12:36:28 -07:00
f00fdab7a2 Put the post date in its own <div> below the heading in the blog listing 2022-04-28 17:58:27 -07:00
14634d5c97 Write the full month out in post dates 2022-04-25 23:18:06 -07:00
d2f51c6b08 Move the <time> elements below the headings in the blog list' 2022-04-24 21:14:04 -07:00
bef10cb7d2 Add nobreak class to the time element in the blog list 2022-04-24 21:08:42 -07:00
f3a0b7ab27 Remove some stray "" 2022-03-25 23:38:15 -07:00
501dc6ed51 Rearrange the post header
Dates will flow below the header if the header is too long.

Move the draft up to the top, above the header.
2022-03-25 23:24:29 -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