Commit graph

75 commits

Author SHA1 Message Date
122e55b1fa blog: Rubiks' Cube Scrambler post
Implement the rubiks-cube-scrambler custom element, including JS and template
files. Put these things in the body-extras.html partial that the termlite theme
added.

resource-builders: Update submodule commit
termlite: Update submodule commit
2024-11-13 17:06:01 -08:00
8bfa3fc8bf Add support for embedding videos in the figures/image shortcode 2024-10-31 08:06:05 -07:00
6343452a62 Exclude drafts from the latest widget 2024-10-27 10:05:35 -06:00
d5296995de Get the nethack page looking good again
Update all the CSS classes and fix the layout so it looks good in the new theme.
Convert a bunch of CSS classes to BEM style.
2024-10-27 09:56:46 -06:00
b72441b9b1 Embed the image of a photo post link in a <figure> 2024-10-26 08:31:14 -06:00
e65a680b49 Get blog and photos posts recursively in the latest widget
Now that year sections are real sections, real pages (i.e. blog posts and photos)
need to be fetched recursively.
2024-10-26 08:30:44 -06:00
5c2942bc56 Add a home/latest widget
Add a shortcode and some styles for a two column, two row grid of latest posts.
2024-10-20 09:19:14 -07:00
f55b445c1f The abbr shortcode takes a single positional argument to use a the title attribute 2024-10-20 09:13:54 -07:00
4da0aeca1a Add .figure class to code and image figures 2024-10-12 11:27:38 -07:00
3369b52735 Move the youtube shortcode to the termlite theme
Rename it figures/youtube → youtube and update the posts that use it.
2024-10-08 09:09:02 -07:00
3102dc1e56 Move a bunch of shortcodes and partials back from the platters theme 2024-10-08 08:45:44 -07:00
0f200e3d09 Move circular_image back to the top level 2024-10-07 21:43:47 -07:00
47d1bf9ffe Move nobreak and tess shortcodes back to the top level layouts directory 2024-10-07 21:42:29 -07:00
66adceaf24 Move all layouts to platters theme 2024-10-07 21:39:17 -07:00
f0d0d5a136 Add an error return from the figures/image shortcode if the images list contains a nil 2024-10-07 21:33:30 -07:00
e18453dac0 Allow the caller of the figures/image shortcode to skip image processing via the shouldResize argument 2024-03-11 08:28:58 -07:00
11bacea783 CSS and a shortcode for a 2-column grid within the content track 2024-01-08 08:32:13 -08:00
9584896363 Add a class argument to the figures/image shortcode 2023-12-31 12:17:27 -08:00
ff72f94b8f Fix YouTube figures and add a .content-width CSS class 2023-12-27 12:51:07 -07:00
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