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
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
8bfa3fc8bf
Add support for embedding videos in the figures/image shortcode
2024-10-31 08:06:05 -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
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
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
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
6affc7b454
Add alt text support to figures/image shortcode
2023-02-01 09:10:35 -08: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
84c7c714ed
Use JS to show/hide railroad diagrams based on page width (thanks @hober!)
2022-10-21 11:06:13 -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
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