Commit graph

56 commits

Author SHA1 Message Date
383234e983 Address all warnings during the Hugo build
- Add descriptions for pages that have too much content
- Add an image orientation override param so that I can specify orientation when it's missing from EXIF
- Move the author.name and author.email configurations to params; delete author.yaml
2023-12-18 11:22:14 -08:00
a353c4a549 {{< img >}} shortcode 2023-11-20 11:55:58 -08:00
bfee27e7c5 Fix "me" image on the about page
Add a section shortcode to enable wrapping a chunk of a post in a <section>
Add a section.flow class that removes grid from the section
Fix up the about styles so that the paragraph that Hugo wraps the <img> in behaves sensibly when floated
Fix the alt text in the circular_image shortcode
2023-11-18 11:11:34 -08:00
a9cfddec80 Fix styling of blog, photos, term, ruby
So many fixes!
2023-09-26 09:37:04 -07:00
d6e5c2a978 Only add a figcaption to the figures/image shortcode if the Title is non-empty 2023-09-24 08:45:47 -07:00
57ce171455 Remove two-column from a couple book posts 2023-08-02 17:30:28 -07:00
afc6e81b70 Redo the figure shortcode to take multiple images
Put all images in a flexbox container
2023-08-02 17:16:30 -07:00
174e5bc784 Implement ruby controls! 2023-05-08 20:12:11 -07:00
ec96e17acd Ruby shortcode and some new ruby CSS styles 2023-04-23 22:10:04 +09:00
3014a7c694 Add a lang shortcode that wraps text in a <span lang="x"> tag 2023-04-06 08:45:15 -07:00
6affc7b454 Add alt text support to figures/image shortcode 2023-02-01 09:10:35 -08:00
42a71c1ac3 Update Nethack partials, shortcodes, and page to properly handle ascensions 😁 2023-01-24 08:53:58 -08:00
4ca71181c7 Add the {{r}} shortcode that renders a subreddit as a subtle (color only on hover) link, in monospace with no background 2023-01-07 09:42:56 -08:00
e263b3cb41 Include all photos as links in the RSS and Atom feeds, instead of just the thumbnail
- Move photo_thumbnail.html to photos/thumbnail.html
- Add a photos/list.html partial that returns a list of photos for the current
  page
- Use the template above everywhere we need a list of photos for the page
2022-11-29 09:06:18 -08:00
5606feeca1 Re-do a bunch of the styles for the Nethack page 2022-11-20 12:24:14 -08:00
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