Commit graph

16 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
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
d738354e41 Default single.html template cleanup 2022-10-21 11:10:23 -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
16201877f4 Move single page scripts to a scripts block 2022-09-26 13:21:43 -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
257c48039b Move post specific markup to the single template 2022-09-11 10:43:08 -07:00
14634d5c97 Write the full month out in post dates 2022-04-25 23:18:06 -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
8e5c9ebb3a Include the p5.js script when is_p5js_sketch is set in the front matter 2022-03-24 23:15:24 -07:00
7cf5efa991 Add development styles and DRAFT tags; update layout of list and single templates 2021-12-26 13:06:22 -07:00
84ecd776cc Replace date_medium time formats with "Jan 2, 2006" explicit format 2021-10-11 17:38:34 -07:00
8c4dd830b9 Move the rest of the _default templates from the theme 2021-10-10 10:32:26 -07:00