Commit graph

287 commits

Author SHA1 Message Date
24871ecf49 {{ stock }} shortcode for linking to a finance page for a stock ticker symbol 2025-08-28 07:23:13 -06:00
1f2de30c60 Pass the list of images generated by the figures/image template to the partials that actually render the figure
This template was doing a bunch of work to look up resources, but then
discarding it and passing just the "name" to the partial. Instead, pass the
$imgs list.

Add a "global-asset-src" parameter to the shortcode that takes an asset path.

Update the termlite submodule commit.
2025-08-19 10:03:50 -07:00
0877f504b3 about: Clean up the markup a little bit
I'm still not happy with the circular image. It's not aligned like I would like.
2025-01-01 10:44:57 -08:00
a1c22b3491 Clean up partial calls in figures/image
- Include the custom class passed to the template
- Factor out multiple computations of $shouldShowTitle into a variable and pass that
  to called partials
2024-12-31 09:39:46 -08:00
e3b93e5e0f Rewrite the figures/image template to use the new figures in the termlite theme 2024-11-25 09:52:22 -08:00
8105b0e16b Improve the handling of whitespace in template code
resource-builders: Update submodule commit
2024-11-14 08:49:52 -08:00
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
0cef7a7903 Fix up the new-photo-post script
Make the script a little more resilient. Print out some EXIF data that the template
will use when generating the page.

Update the photostream submodule commit.

Remove the unused photo_exif_table.html partial.
2024-11-04 08:37:56 -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
ae9aa17e37 import map template 2024-10-07 21:36:03 -07:00
3e4e292a23 Update the content header partial 2024-10-07 21:35:48 -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
d7ec4ae8b6 Reindent root_css partial 2024-04-09 20:49:56 -05: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
ee9382b7a9 Clean up the terms template a bit 2024-01-08 13:16:53 -08: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
087e3461d6 Apply js.Build to railroad_utils.js 2023-12-26 21:42:16 -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
b876f5a0cd Move li_grid_with_date template to _default so terms and blog can use it 2023-12-16 09:25:35 -08:00
a353c4a549 {{< img >}} shortcode 2023-11-20 11:55:58 -08:00
ee98566283 In the page_css partial, check array length and presence of $.File before concatenating stylesheets 2023-11-20 11:55:40 -08:00
f905b16940 Add a render template for headings
Create heading anchors and style them with colors and stuff
2023-11-18 11:13:16 -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
d45ad449a5 Merge branch 'main' into massive-relayout
# Conflicts:
#	assets/styles/root/050_ruby_controls.css
#	layouts/partials/ruby_controls.html
2023-10-14 15:00:00 -07:00
8022a8f84a Integrate <ruby-switch> into the templates 2023-10-14 14:55:54 -07:00
c56f91da2c Write a warning if an image doesn't have an orientation
Default to 0º orientation.
2023-10-12 11:04:19 -07:00
8cc207b84c Parameterize the photo grid 2023-10-03 08:55:13 -07:00
20e76897ff Move site header layout styles to columns; fix nav spacing
Do a bit of testing on Chrome too.
2023-09-30 11:56:45 -07:00
090eef5bee Fix the alignment of the post title <h1> 2023-09-30 11:06:30 -07:00
a9cfddec80 Fix styling of blog, photos, term, ruby
So many fixes!
2023-09-26 09:37:04 -07:00
b7070ccfd5 Remove the <ul> and <li> from the blog list 2023-09-26 08:35:21 -07:00
d18edef261 Add section.atom templates to blog and photos that are identical to the home feed 2023-09-24 08:59:40 -07:00
1ce9e2b417 Add empty section.html templates to nethack and nihongo 2023-09-24 08:59:19 -07:00
0262f79509 Add empty section.atom templates to about/ nethack/ and nihongo/ 2023-09-24 08:58:51 -07:00
42dc062147 Updates to the blog list so far (I've lost track) 2023-09-24 08:46:30 -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