Commit graph

251 commits

Author SHA1 Message Date
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
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
ea9fb02aaa Move home styles to home.css 2023-08-20 09:59:16 -07:00
3bcdd7edb7 Add .page or .list to <main> depending on the length of .Pages 2023-08-20 09:59:02 -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
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
bf23ba41a9 Fix a typo in root_css.html 2023-07-14 08:30:16 -07:00
4d14ea9ab2 Process CSS resources as lists (call {{ range }} on them)
All the CSS resource partials return lists now.
2023-07-14 08:26:42 -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
4f63fab916 Move all the home styles to inline CSS 2023-05-20 08:28:38 -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
8296cc6e43 Fiddling with the formatting of baseof.html 2023-05-08 20:06:42 -07:00
66d50f773b Some layout tweaks for the term template
Allow removing the pages list if the "pages" page variable is set false.
2023-04-23 22:11:48 +09: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
ec96e17acd Ruby shortcode and some new ruby CSS styles 2023-04-23 22:10:04 +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
3014a7c694 Add a lang shortcode that wraps text in a <span lang="x"> tag 2023-04-06 08:45:15 -07:00
78bd1e4a4e Japanese flashcards! 2023-03-13 21:06:45 -07: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