Commit graph

76 commits

Author SHA1 Message Date
5606feeca1 Re-do a bunch of the styles for the Nethack page 2022-11-20 12:24:14 -08:00
2c5cec4f87 Remove the date from the about section only 2022-11-15 22:12:23 -08:00
e0b7aae3db Fix Spanish localization of the home page and footer slogans and copyright 2022-11-15 17:24:54 -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
877dcedbcd Put - around $scheme declaration in atom_entry_metadata 2022-11-05 23:58:50 -07:00
2f3d133dda Break up the RSS template into item templates, like I did for atom 2022-11-05 13:21:09 -07:00
24122c7427 OOPS! Add back <a> tags to the site menu 2022-11-04 08:07:13 -07:00
ce5f0ea678 Clean up the site header template a little bit 2022-11-04 08:05:07 -07:00
543112fc51 Convert the social menu to a config driven version 2022-11-04 08:01:24 -07:00
3f1bd948eb Remove <author> from the Atom entry metadata 2022-11-03 17:02:15 -07:00
3ef4c7eb1b Add a set of templates to generate an Atom feed! 2022-11-03 09:16:25 -07:00
e83ba90c62 Update the photo_thumbnail template to return the thumbnail itself, unmodified, if no changes are required 2022-11-03 09:16:13 -07:00
4c3a61ad5d Reformat the head template a little bit 2022-11-03 09:15:45 -07:00
55f0526f6e Remove the .post-content section around {{ .Content }} 2022-10-31 08:41:40 -07:00
76e3da0de1 Add the series to the content header 2022-10-31 08:41:24 -07:00
ecb39a9298 Move footer tags list to a partial so photos and blogs can use the same template
Simplify the blog post layout by removing the <article> tag
2022-10-31 08:40:17 -07:00
57947282ce Add a shortcode to embed a photo post in a blog post 2022-10-30 11:31:47 -07:00
e7b2cb493a Redo the blog list layout to make it work a little better on narrow screens 2022-10-30 11:30:41 -07:00
0a410b0ad8 Expand the theme colors to full 6-digit hex values 2022-10-26 09:20:06 -04:00
d45ad6e1ae Add images/orientation_angle partial that returns the angle (in degress) of the orientation from an image's Exif info 2022-10-25 17:55:47 -04:00
397c2262be Clean up the footer layout and styles 2022-10-25 17:37:15 -04:00
27f88ab3b5 Clean up the header layout and styles 2022-10-25 17:36:06 -04:00
ae19e1a777 Photos WIP 2022-10-20 07:52:27 -07:00
16a76afed8 Add meta theme-color tags to <head> 2022-10-20 07:52:27 -07:00
f286e5062d First cut at a photos site 2022-10-20 07:51:03 -07:00
d5f9f2a765 Overhaul the look of tags; integrate a category and a cute little triangle 2022-10-15 10:14:48 -07:00
17abf75b7e Clean up head.html 2022-10-15 09:35:07 -07:00
db890fb19f Slightly improve how tags are fetched 2022-10-09 17:35:16 -07:00
658eecfa1e Add some development data to the debug table 2022-10-09 17:34:06 -07:00
dca0f2e7e5 Remove resume from site menu and sort blog first 2022-10-09 13:33:01 -07:00
9ae600d8ce Merge branch 'redesign' 2022-10-09 12:55:01 -07:00
d7077b88f1 Let's get some heading font sizes up in here 2022-10-09 12:50:08 -07:00
a6128d8556 Add a new line in single_main.html 2022-10-09 12:17:02 -07:00
de215d5eb2 Clean up comments and tags in head.html partial 2022-09-26 13:21:58 -07:00
16201877f4 Move single page scripts to a scripts block 2022-09-26 13:21:43 -07:00
2752c6bf81 Add an .active class to current active link in the nav bar 2022-09-25 07:41:30 -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
0bbcda8032 Re-mark up the site heading 2022-09-11 10:42:15 -07:00
8f63f7c119 Remove the <link> tags from the document <head> 2022-09-11 10:41:42 -07:00
7325debd66 Fix up the layout of the debug content
Put it in the bottom left in a disclosure
2022-09-11 10:41:19 -07:00
e1d6c78cdf Re-mark up the footer 2022-09-11 10:38:09 -07:00
6c915ab925 Add debug page info to the bottom left corner of the page 2022-09-07 08:44:52 -07:00
6f21bae492 Move scripts to the bottom of the body 2022-08-27 10:09:55 -07:00
55781cd599 Allow the Page's resources front matter to control whether a JS script is imported as a module
resources:
  - src: script.js
    params:
      is_module: <true|false>
2022-08-18 20:19:10 -07:00
7b9cb6bf73 Slightly tweak how site CSS files are imported in <head> 2022-08-18 20:18:43 -07:00
a897f476e6 Include Railroad.js files in <head> 2022-08-18 20:18:05 -07:00
4c1baa2b6d Add syntax highlight config to site config file
Generate a Monokai and MonokaiLight CSS file for highlighting
Include the CSS file in <head>
2022-08-18 20:16:41 -07:00
b495d84c64 Include p5 scripts if includes_p5_sketch is set in the page's .Scratch
Update the p5_sketch shortcode to set that value in .Scratch
2022-08-16 09:17:27 -07:00
14babf16eb Do the same for page resource scripts as for page resource CSS files
Look up page resources matching *.js and include all of them as deferred module
scripts.
2022-08-16 09:13:38 -07:00