Commit graph

205 commits

Author SHA1 Message Date
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
4f4312b944 Don't secure assets on localhost; it just messes with the JS debugger 2023-02-04 18:26:32 -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
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
e18e207530 Add a post's category to the right of the list item 2023-01-30 12:38:25 -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
d68e76478d Add the ability for post headers to be links when you add a link parameter to the page front matter 2023-01-07 09:43:15 -08:00
4ca71181c7 Add the {{r}} shortcode that renders a subreddit as a subtle (color only on hover) link, in monospace with no background 2023-01-07 09:42:56 -08:00
39467b7a43 Add Mastodon link to <head> 2022-12-19 22:57:53 -08:00
2a4838e8a3 Max level in the Nethack logfile is actually the max dungeon level, not the max character level 2022-12-05 08:14:39 -08:00
d88d34a00a Add shortcut icon link to Atom feed 2022-11-29 12:48:52 -08:00
e263b3cb41 Include all photos as links in the RSS and Atom feeds, instead of just the thumbnail
- Move photo_thumbnail.html to photos/thumbnail.html
- Add a photos/list.html partial that returns a list of photos for the current
  page
- Use the template above everywhere we need a list of photos for the page
2022-11-29 09:06:18 -08:00
b7221075a3 Add a photo_details param that turns off the details table when set to false 2022-11-28 17:29:00 -08:00
fe8e12a2ba Find an image named "thumbnail" if none is given as a param 2022-11-28 17:28:43 -08:00
f0931bd9d1 Update favicons and touch icons 2022-11-24 08:29:59 -05:00
88476a707e Add a tbody for list page data to the development page info table 2022-11-24 08:26:50 -05:00
5606feeca1 Re-do a bunch of the styles for the Nethack page 2022-11-20 12:24:14 -08:00
f74f0c5e9d Clean up the layout of the Spanish home page 2022-11-19 13:42:20 -08:00
188c5fb876 Remove unused $pages variable from photos list template 2022-11-18 08:35:31 -08:00
1d825755ff Add a nowrap shortcode 2022-11-18 08:30:45 -08:00
2c1f64cbca Set the <html lang> attribute correctly 2022-11-18 07:13:18 -08:00
6b800dcbf6 Add single and section pages to the about layouts section 2022-11-15 22:12:54 -08:00
2c5cec4f87 Remove the date from the about section only 2022-11-15 22:12:23 -08:00
8fadc54a43 Move site header and footer to the base template, and override the body block in index 2022-11-15 22:12:09 -08:00
c0a2dd9f28 Add alt text to the image in the photo/single template 2022-11-15 17:24:54 -08:00
f078614848 Remove the simple layout; and remove the resume single template 2022-11-15 17:24:54 -08:00
e0b7aae3db Fix Spanish localization of the home page and footer slogans and copyright 2022-11-15 17:24:54 -08:00
6842511b10 Remove the SRI stuff; use md5 instead of sha512 for fingerprinting since it is shorter 2022-11-15 17:24:54 -08:00
9601e1e283 Implement fingerprinting site and page resources
This will keep browsers from caching files that have changed. I've also added
SRI information to the <script> and <link> elements for browsers to verify
resources.

Squashed commit of the following:

commit f3fcb16388
Author: Eryn Wells <eryn@erynwells.me>
Date:   Tue Nov 8 17:47:42 2022 -0800

    Remove static/styles/root.css

commit 53a30624a0
Author: Eryn Wells <eryn@erynwells.me>
Date:   Tue Nov 8 17:47:26 2022 -0800

    Add back the basic table styles that got ditched when root.css was moved to assets/styles

commit 294fa8343b
Author: Eryn Wells <eryn@erynwells.me>
Date:   Tue Nov 8 17:45:38 2022 -0800

    Get all the fingerprinting done!

    - Add partials in the resources folder for each of the major resources of my site
    - Consolidate .css and .js files via resources.Concat where possible

commit d0b223fa33
Author: Eryn Wells <eryn@erynwells.me>
Date:   Mon Nov 7 08:36:39 2022 -0800

    All the template updates for fingerprinting

commit 1751abadac
Author: Eryn Wells <eryn@erynwells.me>
Date:   Mon Nov 7 08:36:27 2022 -0800

    Add secure_asset.html template

commit 94ea8068c9
Author: Eryn Wells <eryn@erynwells.me>
Date:   Mon Nov 7 08:35:48 2022 -0800

    Move a bunch of scripts and CSS to assets so they can be processed with Hugo Pipes

    Use Pipes to fingerprint and add SLI information to <script> and <link> tags.
2022-11-08 17:50:11 -08:00
81c04c7b5e Add a blank rss_item.rss template as a catch-all for pages that should not be in the feed 2022-11-05 23:59:13 -07:00
877dcedbcd Put - around $scheme declaration in atom_entry_metadata 2022-11-05 23:58:50 -07:00
d3df159add Do not escape .Content in the RSS feed templates 2022-11-05 23:58:28 -07:00
e15c8488a5 Move index templates up to layouts/ 2022-11-05 23:57:52 -07:00
2f3d133dda Break up the RSS template into item templates, like I did for atom 2022-11-05 13:21:09 -07:00
b2d24aad54 Rename the atom_entry templates with .atom suffix 2022-11-05 13:20:26 -07:00
24122c7427 OOPS! Add back <a> tags to the site menu 2022-11-04 08:07:13 -07:00
2cff513898 Remove the back button from photo posts 2022-11-04 08:05:13 -07:00
ce5f0ea678 Clean up the site header template a little bit 2022-11-04 08:05:07 -07:00
543112fc51 Convert the social menu to a config driven version 2022-11-04 08:01:24 -07:00
7dcfc12ec7 Generate a feed.atom too 2022-11-04 08:01:07 -07:00
c4db9126b5 Always include <content> in photos atom entry 2022-11-03 17:10:48 -07:00
92854f7a0a Add an inline <img> in the photo Atom entry 2022-11-03 17:04:18 -07:00
1e6711b8f3 Use the photo_thumbnail partial in the li_thumbnail_in_grid template 2022-11-03 17:03:57 -07:00