Commit graph

41 commits

Author SHA1 Message Date
f74f0c5e9d Clean up the layout of the Spanish home page 2022-11-19 13:42:20 -08:00
1d825755ff Add a nowrap shortcode 2022-11-18 08:30:45 -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
0f47ca61a6 Clean up formatting of photo shortcode 2022-11-03 17:03:25 -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
57947282ce Add a shortcode to embed a photo post in a blog post 2022-10-30 11:31:47 -07:00
84c7c714ed Use JS to show/hide railroad diagrams based on page width (thanks @hober!) 2022-10-21 11:06:13 -07:00
bb4b2cd4e9 Add alt text to my image in the about page and make it scale with content width 2022-10-15 10:14:48 -07:00
ba73889720 Update all content; add categories and move Tech, Games, Music to category taxonomy; add location taxonomy 2022-10-14 14:27:08 -07:00
71ffafcff5 Remove trailing /> from an img tag 2022-10-09 13:27:21 -07:00
38b06904a8 Add circlar selfie to about page 2022-10-09 13:26:59 -07:00
6af32976c6 Add a code figure and get highlighted lines to wrap 2022-10-01 10:26:23 -07:00
430846449d Remove the .centered div around figuers 2022-09-24 07:47:39 -07:00
8478b049f0 Scale image figures to 1280 instead of 640 2022-08-20 17:29:42 -07:00
542866489d Move all the figure shortcodes to /layouts/shortcodes/figures; center all of them 2022-08-20 09:38:31 -07:00
a897f476e6 Include Railroad.js files in <head> 2022-08-18 20:18:05 -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
9ffa94f8af Add Tab's railroad.js to the blog
- Include railroad.js from http://tabatkins.github.io/railroad-diagrams/
- Include railroad.css from the same, and tweak it to match my style a bit
  better
- Add a railroad-utils.js file that declares a railroadDiagram function. It
  takes a builder function and an element ID, calls the builder and adds the
  resulting diagram to the element with the given ID.
- Add a railroad_diagram shortcode that wraps that all up so you can write a
  diagram inline with a post.
- Add script includes if the railroad_diagram shortcode is used. The shortcut
  sets a variable in the page's .Scratch that is looked up in the head partial
  template to determine whether to include these scripts.
2022-08-16 09:12:13 -07:00
777a10c734 Add a best_game shortcode 2022-04-24 17:27:13 -07:00
8fb0e09e1b Add a shortcode to generate a Nethack logfile with data from the data directory 2022-04-24 17:16:18 -07:00
e93d3e784d Add an <abbr> shortcode 2022-04-17 10:12:45 -07:00
7f470262ec Move the nethack templates into nethack/ subdirectories of partial and shortcodes 2022-04-17 10:12:34 -07:00
d1dfea9f97 Chronological nethack logfile page 2022-04-16 16:21:35 -07:00
307a02eea1 Generate a table of nethack entries from data/nethack/nutmeg.json 2022-04-16 11:21:21 -07:00
9c14e95be8 Add audio shortcode 2022-04-09 09:08:38 -07:00
687369eb43 Make the p5-sketch element a figure 2022-03-25 23:38:37 -07:00
b85ec512ef Rearrange the variable declarations in post_figure 2022-03-25 23:22:50 -07:00
c068a0b9c0 Move p5_sketch_container to p5_sketch
It now takes an id parameter.
2022-03-25 23:22:23 -07:00
f21a558a8d Add p5_sketch_container shortcode 2022-03-24 23:14:04 -07:00
8a9ddddf09 Don't insert the <figcaption> if a title doesn't exist 2021-12-26 13:06:22 -07:00
8a6ec79adf Copy the youtube shortcode and put it in a figure 2021-12-26 13:06:22 -07:00
c1b44a4c83 Change "to" to a en dash in the resume job headings 2021-12-23 16:52:01 -07:00
8c8f97a607 Remove style.css; put all styles in app.css; add post_figure shortcode 2021-10-11 17:33:17 -07:00
ce1c860269 Move a bunch of stuff from the theme 2021-10-11 12:26:47 -07:00
933081348c Add a draft tag to drafts in recent_posts 2021-10-10 18:42:11 -07:00
ce41555c3d Move recent posts list to a shortcode and include it in the index content file 2021-10-10 10:55:33 -07:00
85f90a064f More resume updates 2021-10-05 20:44:33 -07:00
43cfec4572 Add some style to this resume; fill in some AuthExp stuff 2021-10-05 20:26:33 -07:00
65d8886259 A tess shortcode 2021-10-03 10:01:57 -07:00
a2474e9b5e Add anagram shortcode 2021-10-02 11:14:20 -07:00