Commit graph

562 commits

Author SHA1 Message Date
6dbf3da09b WIP carousel post for the Temple of Hephaestus 2023-04-06 08:48:57 -07:00
afb59e7862 Prepare thumbnails of all images in the photo post
Add <img> tags for all thumbnails to the photos list entry. I'm hoping with lazy
loading and some JavaScript this will not be terrible!

Break the logic for preparing a thumbnail into a separate helper partial
template so it can be reused.
2023-04-06 08:45:35 -07:00
da994bd6b7 Add a JavaScript file for the photos list 2023-04-06 08:45:35 -07:00
ad9f83ed39 Refactor carousel code so more of it is in the Carousel class
Load the script as a module
2023-04-06 08:45:35 -07:00
bb655bcf30 Move photo_carousel.js to assets/photos/carousel.js 2023-04-06 08:45:35 -07:00
af957c0150 Pull carousels array out into a variable and bail early if there are no carousels 2023-04-06 08:45:35 -07:00
00d2e9263d Add a badge to the photo list items that have multiple photos in them 2023-04-06 08:45:35 -07:00
baad04e7a4 Couple'a code formatting tweaks to section_css.thml and single_styles.html 2023-04-06 08:45:35 -07:00
81a5507e8f Implement a photo carousel
The layout of this is all CSS with scroll-snap. (Neat!) Also implement a
JavaScript scroll event listener that detects when photos scroll and
updates the caption and photo data.

Refactor a few parts of the photo_exif_table into partials so they can
be reused for the carousel items.
2023-04-06 08:45:35 -07:00
c256179803 Expand the width and heigh argument checks
They are more readable when they are not squashed on one line.
2023-04-06 08:45:15 -07:00
84bf9b3a32 Add a .nvim runtime directory and add a template filetype detection autocmd 2023-04-06 08:45:15 -07:00
3014a7c694 Add a lang shortcode that wraps text in a <span lang="x"> tag 2023-04-06 08:45:15 -07:00
dabe54e581 Another Gratuitous Hanami Photo post 2023-04-02 19:51:18 -07:00
0010e65428 Make sure getting the nethack score path always uses the nethack binary (not my shell function) 2023-04-02 09:29:49 -07:00
9f7f0f84c3 [photo] Bletchley Park selfie 2023-03-28 17:49:59 -07:00
3920d8a415 Hanami photo post 2023-03-28 08:36:22 -07:00
78bd1e4a4e Japanese flashcards! 2023-03-13 21:06:45 -07:00
533bc1138c Update the date of the Once Upon a Time post 2023-03-04 10:48:55 -08:00
15165db3c6 Finish Once Upon a Time I Lived on Mars post 2023-03-04 10:47:13 -08:00
a2653e185c For new photo posts use YYYY/name if possible, and fall back on YYYY/MM/name if not 2023-03-04 10:25:04 -08:00
74ae4174e0 Add Frog Pond photo post 2023-03-04 10:24:35 -08:00
d2709de6d7 Add Showshoeing in Tahoe photo post 2023-03-04 10:24:22 -08:00
f9749738f3 Update Nethack logfile for electra 2023-03-01 07:20:16 -08:00
01fb022322 Old Friends, New Mountain photo post 2023-03-01 07:17:16 -08:00
02b0224247 Render "term" content if it exists; add a Posts header between the content and post list 2023-02-12 10:33:25 -08:00
4254726189 Merge branch 'nethack-background' 2023-02-04 19:22:45 -08:00
61be4cad61 Clean up the find to and from point method in the Tunnel generator 2023-02-04 19:20:52 -08:00
9f1c6e1345 Make site a phony target 2023-02-04 18:26:41 -08:00
4f4312b944 Don't secure assets on localhost; it just messes with the JS debugger 2023-02-04 18:26:32 -08:00
94a09d0c81 Update Nethack logfile for electra 2023-02-04 18:23:39 -08:00
3c25f2041a Revert "Logging for the tunnel digger"
This reverts commit 6f0f1fd337.
2023-02-04 18:18:52 -08:00
6f0f1fd337 Logging for the tunnel digger 2023-02-04 18:18:49 -08:00
c384c07051 Nethack map generator! 2023-02-04 18:18:09 -08:00
78caa686c2 Remove BSPNode 2023-02-03 18:12:25 -08:00
aa50054108 Convert setting cell in room generation method into cell transform 2023-02-03 18:12:07 -08:00
89902ccc03 Tweak the width/height proportion of cells 2023-02-03 18:03:13 -08:00
e4a7550abc Add NRandomRoomsGenerator 2023-02-03 18:03:00 -08:00
5517fd0110 Clean up grid generation in setUp() 2023-02-03 18:02:44 -08:00
a283cae416 Add randomInt() 2023-02-03 18:02:10 -08:00
b8ac3126da Redo Room in terms of Rect 2023-02-03 18:01:53 -08:00
8a5fc9c820 Add some methods to Cell to turn the Cell into a real Cell 2023-02-03 18:01:34 -08:00
2033e0c3a1 Add some basic geometry types: Point, Size, Rect 2023-02-03 18:01:11 -08:00
186929921b Work in progress nethack dungeon generator background for the nethack page 2023-02-03 16:07:04 -08:00
d524a7dd9e Collapse nested if in draft tag into a single if 2023-02-03 16:06:22 -08:00
b20da51037 Make the 2023-books post a non-draft 2023-02-03 08:19:51 -08:00
7f61437f92 Style <main> with box-sizing: border-box and compute the max-width 2023-02-03 08:19:29 -08:00
16cf918e8e Add draft posts for Long Way to a Small Angry Planet and Once Upon a Time I Lived on Mars 2023-02-01 09:22:14 -08:00
18b7ad38b5 Add a category to the Nethack Illustrated Guide post 2023-02-01 09:15:46 -08:00
6affc7b454 Add alt text support to figures/image shortcode 2023-02-01 09:10:35 -08:00
5deda1c5ee Allow pages to specify a two-column layout 2023-02-01 09:10:21 -08:00