Commit graph

42 commits

Author SHA1 Message Date
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
cb8ad426d5 Headings: Move the anchor #
Draw only one hash for headings, and place them in the gutter in wide layouts,
or trailing the heading text in narrow layouts. Do this with grid in the wide
version, and flexbox in the narrow layout.

Add a --text-color-light CSS variable for content that should be lighter than
--text-color-secondary.
2024-07-27 09:30:03 -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
2da54f09e3 Layouts: Remove whitespace between <pre> and <code> elements in codeblocks 2024-07-25 13:12:10 -07:00
b130db28e0 Add pages-list shortcode
Produces a list of pages in a section.
2024-07-23 09:13:47 -07:00
aee96476a7 Add a latest-page-summary shortcode
Produces a summary of the latest page in a given section
2024-07-23 09:13:32 -07:00
b50be42ca8 Make sure there isn't a gap in the nav <li> 2024-07-23 09:06:55 -07:00
0cfc91d26e Clean up page summary and update styles 2024-07-23 09:04:22 -07:00
c6213619b0 Render page content and page lists in list and taxonomy templates 2024-07-23 08:58:06 -07:00
f1977320e8 Render single page content 2024-07-23 08:57:44 -07:00
4d303b984e Add a table of contents to the single template
Pages can show the table of contents by setting the renderTableOfContents parameter.
2024-07-23 08:57:21 -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
8b834f8eab Move the <main> element inside the "main" template block
Do this so each template can set the class of the main block according to what
kind of template it is.
2024-07-23 08:45:26 -07:00
293d4b0748 Remove the page breadcrumb from the base template 2024-07-23 08:44:10 -07:00
04ebd4f10a Add a <code> inside the <pre> codeblocks
Tess suggested I do this.
2024-07-23 08:41:22 -07:00
cce432fe0b RenderHooks: Reconfigure the heading hashes
Instead of a single hash in the left gutter, draw <n> hashes where <n> is the
heading level. All of these hashes are part of the anchor text.
2024-07-20 17:29:49 -07:00
c30805127c RenderHooks: Fix up some whitespace 2024-07-20 17:08:32 -07:00
3cbce149ba Build the page scaffolding with CSS grid
Grid columns are symmetrical. From the outside in, they are:

- outer margin
- inner margin
- wide gutter
- inner gutter
- main content
2024-07-06 11:07:52 -07:00
5dd0748e25 Move site menu below title 2024-07-06 11:05:58 -07:00
576e7cb485 Allow disabling header anchors with page and element params
Set params.renderHeadingAnchors = false to disable for a whole page.
Set the element attribute anchor = false to disable for a single heading.
2024-07-06 10:18:51 -07:00
6d0fd81a7b Implement a ruby shortcode, with ruby/t to make <rt> elements 2024-07-06 10:16:47 -07:00
3597b59fa5 render-image.html: Add the figure--image class
Add the `figure--image` class to <figure> elements with <img> contents.
2024-07-03 07:41:23 -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
db3f1f40fa page_summary.html: Make rendering the summary optional
Pages can control whether summaries are rendered for them in lists with the rendersSummary param.
2024-07-03 07:41:23 -07:00
32b04bc184 Replace bespoke codeblock theme with Dracula theme
https://draculatheme.com
2024-07-03 07:30:39 -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
11a677476b Page summary view template 2024-06-28 09:10:55 -07:00
bc73df76cf Simple baseof.html 2024-06-28 09:08:19 -07:00
4327d34827 Clean up the partials directory
Sort partials into base and site directories
2024-06-28 09:07:33 -07:00
d73c779508 Add render hooks for codeblocks, headings, and images 2024-06-28 09:04:37 -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