Commit graph

42 commits

Author SHA1 Message Date
df3d9cf039 Oops wrong comment format 2025-08-19 10:08:17 -07:00
3248ac51d1 Take an .images list of resources in figures/fullwidth and figures/small
These two templates take a list of resources to operate on. Since these render
image figures, that list is called "images".
2025-08-19 10:02:38 -07:00
7d56bd2f78 Inline image template
This is for embedding SVGs inline.
2025-01-04 10:12:29 -08:00
05956b83b8 Make some improvements to the fullwidth-image partial
- Add some handling of SVGs so the template doesn't attempt to resize them.
- Include custom classes in the <figure class> attribute
- Do not link to SVG images
- Only include <img srcset> if there are multiple sized images. This mostly supports
  SVG figures where there's only ever one.
2024-12-31 09:37:19 -08:00
accd1aceeb A couple fixes for page navigation
- Put the previous post on the left, and the next post on the right
- Simplify the CSS class names and styles
2024-12-23 08:13:30 -08:00
1eba82c96b Fix the name of tag__list-item elements
I changed the class name of these elements in a prior commit and forgot to
update this template.
2024-11-26 13:44:29 -07:00
efae2acdea Simplify figure styles and markup
Remove the .figure__container element. According to Tess, putting a <figcaption>
inside a child of a <figure> "doesn't obey the content model" or some shit.
Fiiiiine.

Getting small figures to lay out the way I want them to without the container
was a bit of a trick. Instead of letting the figure span the entire width of the
grid column, let it fit the size of its contents, and then set margin-inline to
auto so it centers.

Doing this also allowed me to remove the .figure--image, etc styles because the
styles and markup are a lot more similar among figures containing different
kinds of elements. Nice!
2024-11-25 15:48:04 -08:00
502aa408d9 Refactor all the figures
There are two main sizes of figures: fullwidth and small. Full width figures take
the full content width. Usually they spread into the "wide" content area too.
Main size figures are also full width figures, but they stop at the edges of the
main content area. Small figures shrink to fit and are generally 480pts wide.

Break all these different types of figures down into separate templates for each
variant.

Add the ability for resources to specify a "source" with a link and title.
2024-11-25 09:51:32 -08:00
d81f2a107c Remove the interstitial .tag__value__list-item
Just .tag__list-item is enough.
2024-11-24 10:19:26 -08:00
ce19ae0bbb Use .PublishDate for the page header date 2024-11-16 09:41:22 -08:00
75f7771c38 Use the page's .PublishDate as the date for the PUBLISHED tag 2024-11-15 20:44:16 -08:00
c4821daa6e Add a should_render.html partial
Encapsulates the decision making about whether a page should be rendered.
2024-11-13 17:03:17 -08:00
94181c0f15 Add body-extras and head-extras partials to the baseof template
These are for clients of this theme to override.
2024-11-13 17:02:42 -08:00
2f9f25f8c4 Omit drafts from the Prev/Next page navigation 2024-10-27 07:24:38 -06:00
4a6dd87603 Consolidate list templates to _default
Remove the blog list template since it's no different from the default list.
2024-10-24 10:05:25 -06:00
59ff58e159 Break section template into first and descendent sections
First section templates render the most recent $n yearly subsections as a list of
articles.

Descendent sections render just the content of those subsections.
2024-10-23 11:17:30 -07:00
50dc3c45c1 Allow the menu to specify a style for the item
Style changes the trailing character, a la ls -F. The default is 'dir', appending
a slash `/`. You can also specify 'file' to append a '*'.
2024-10-20 09:18:34 -07:00
115b9dd9cd Add <link> to alternate output formats in the page's <head> 2024-10-20 09:15:16 -07:00
4c689f0f5c Reduce the depth of the DOM and simplify the CSS a bit
Remove the main intermediate container. It wasn't acutally serving a purpose.
Remove some of the BEM-style classes that also weren't really doing anything.
2024-10-13 23:13:16 -07:00
edd6eb996b A more generic tag/value component
Write styles and templates for a more generic tag/value component. Use this component
for the taxonomy lists, draft tag, and page dates in the summary template.
2024-10-12 10:45:52 -07:00
f7928c2190 Clean up the taxonomy list
Make the name of the taxonomy copyable by putting it in the dom, rather than in
the CSS content:.
2024-10-08 21:58:57 -07:00
ea26f5f68b Blog: Move blog styles and content templates to the base repo 2024-08-07 07:43:50 -10:00
97aa739b3f Use singular or plural taxonomy names depending on how many items are in the taxonomy for the page 2024-08-02 15:47:33 -07:00
1b463e35d8 Use trailing / for sections in the site header
Just like `ls`.
2024-08-01 18:22:25 -07:00
000353f339 Layouts: Remove date from taxonomy templates
Do not show dates on pages where .IsNode is true, rather than using .IsSection.
Apparently taxonomy pages are nodes, but are not sections.
2024-07-25 13:24:33 -07:00
b50be42ca8 Make sure there isn't a gap in the nav <li> 2024-07-23 09:06:55 -07:00
461772c1f0 Remove the page breadcrumb because it's not used 2024-07-23 08:54:06 -07:00
d1154de459 Add a page navigation breadcrumb
This thing looks like a path. It lists the hierarchy of pages from the home page.
2024-07-23 08:53:34 -07:00
54c371d7e6 Add a page header to the list, single, and taxonomy templates 2024-07-23 08:51:03 -07:00
2878dd8d60 Clean up the site footer
It's just a single <aside> that lists the copyright.
2024-07-23 08:49:38 -07:00
7ff79c546d A generic taxonomy list template
This template produces a <ul> list of the terms in the provided taxonomy. The
taxonomy is passed to the template via the `.term` argument, which is a string
name of the taxnomy.
2024-07-23 08:48:46 -07:00
64c1704a6b Pass an additional parameter to base/head/css.html
Pass the path of a stylesheet resource to this template so it can be used to
generate other CSS stylesheets.
2024-07-23 08:46:52 -07:00
5dd0748e25 Move site menu below title 2024-07-06 11:05:58 -07:00
a5e5d04b9f page_breadcrumb: Implement a breadcrumb and display it above the <main> content
The breadcrumb shows navigation from the home page as a path:

/ > Posts > This Post

en.yaml
2024-07-03 07:41:23 -07:00
25d36563f5 Add text-color--gradient to the site-header__title element 2024-06-29 14:16:23 -07:00
45b0c117e0 Reimplement the size_scale partial as base/_size_scale.html
I accidentally deleted it. Move it here and reimplement it.
2024-06-29 10:29:49 -07:00
4327d34827 Clean up the partials directory
Sort partials into base and site directories
2024-06-28 09:07:33 -07:00
4bc1390b3c CSS Checkpoint
- Add the system_css template
- Name the CSS files in the css directory with a numeric prefix so they sort by
  priority.
2024-06-28 09:03:28 -07:00
00718a4fe2 Move system_css.html -> design/system_css.html 2024-06-07 12:08:46 -07:00
e1d9e7f69d Combine separate CSS resource pipeline partials into the single system_css partial 2024-06-07 12:08:24 -07:00
Eryn Wells
34ec240dc0 Fix all the build errors 2024-06-06 20:59:24 -07:00
Eryn Wells
505dee6d90 Add spacing.css and spacing_css.html partial 2024-06-06 14:45:22 -07:00