Commit graph

133 commits

Author SHA1 Message Date
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
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
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
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
d7ec4ae8b6 Reindent root_css partial 2024-04-09 20:49:56 -05: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
ee98566283 In the page_css partial, check array length and presence of $.File before concatenating stylesheets 2023-11-20 11:55:40 -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
dbb202d7f9 Merge branch 'main' into massive-relayout 2023-09-23 13:34:09 -07:00
77f6e16d9a Fix the IsSet warning when building the site 2023-09-19 16:05:17 -07:00
f4ed16c706 Clean up content_header 2023-08-20 12:15:37 -07:00
c94c4a6c95 Teach resources/page_css how to load CSS stylesheets with .Kind 2023-08-20 12:14:08 -07:00
8aed72a94d Wrap tags list in a .taxonomies <div>
Put two <ul.tags> elements inside so there's not an <li> with a triangle in it.
2023-08-20 09:59:16 -07:00
013d707f50 Do the header gradient one letter at a time for browsers that don't support background-clip: text 2023-08-20 09:58:26 -07:00
751f1c7d81 Tweak all the icons
Make them a little bigger. Clean up the view boxes.
Use <img> instead of backgrounds of <a> tags so the Mastodon logo does not get clipped.
2023-08-11 08:05:04 -07:00
d685f2e647 Fix the RSS and Atom feeds 2023-08-09 08:21:54 -07:00
bf23ba41a9 Fix a typo in root_css.html 2023-07-14 08:30:16 -07:00
6740e7b61d Fix all the CSS resources templates 2023-07-14 08:26:42 -07:00
da64dd30d5 Simplify the draft tag partial
I do not publish drafts to production, so we do not need to check if
the page is being served from localhost in the template.
2023-07-14 08:08:53 -07:00
039efa3c23 Remove flags part of page info debug thingie 2023-05-20 09:44:40 -07:00
1713d5f849 Move site navigation to a partial
It can now be shared between the index and site header templates.
2023-05-20 08:27:55 -07:00
52a79500c0 Tweak the layout of the debug page info thingie 2023-05-20 07:53:26 -07:00
8029f97f9c Move all the root styles to fragment files
Create assets/styles/root to hold all the fragments of the root
stylesheet. This should make it easier to find and hack on style. Yay!
2023-05-20 07:53:22 -07:00
fc35499d6c Simulate background-clip: text for browsers that don't support it
Move the heading generating to a partial that iteratively wraps each character
of the heading in a <span>. The CSS for the site heading uses :nth-child to
color each span a different color.
2023-05-17 08:28:22 -07:00
0e81f019a7 Fix ruby controls 2023-05-08 20:52:49 -07:00
37fecd7dfb Tweak the formatting of table of contents 2023-05-08 20:12:33 -07:00
174e5bc784 Implement ruby controls! 2023-05-08 20:12:11 -07:00
727a6ffd59 Fix the page CSS partial so that it generates a new stylesheet for each page 2023-05-08 20:07:26 -07:00
f21ac49b08 Add a table of contents
Create a new table_of_contents partial that includes an auto-generated table of contents if the word
count is over 400 and the "toc" page variable has been set true.
2023-04-23 22:11:47 +09:00
b9869c11f0 Update the EXIF table so that it properly formats data from my Canon camera 2023-04-08 19:43:01 -07:00
50c181f2fd Add some nobreak spans around data in the photos EXIF table 2023-04-08 15:17:44 -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
78bd1e4a4e Japanese flashcards! 2023-03-13 21:06:45 -07:00
4f4312b944 Don't secure assets on localhost; it just messes with the JS debugger 2023-02-04 18:26:32 -08:00
d524a7dd9e Collapse nested if in draft tag into a single if 2023-02-03 16:06:22 -08:00
5deda1c5ee Allow pages to specify a two-column layout 2023-02-01 09:10:21 -08:00
547e196616 Conditionally include photo EXIF info so the table looks all right even with missing info 2023-01-30 12:26:06 -08:00
42a71c1ac3 Update Nethack partials, shortcodes, and page to properly handle ascensions 😁 2023-01-24 08:53:58 -08:00
97c92d209d Revert "Add the ability for post headers to be links when you add a link parameter to the page front matter"
This reverts commit d68e76478d.
2023-01-10 16:16:12 -08:00