Commit graph

108 commits

Author SHA1 Message Date
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
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
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
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
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
2c5cec4f87 Remove the date from the about section only 2022-11-15 22:12:23 -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
877dcedbcd Put - around $scheme declaration in atom_entry_metadata 2022-11-05 23:58:50 -07:00
2f3d133dda Break up the RSS template into item templates, like I did for atom 2022-11-05 13:21:09 -07:00
24122c7427 OOPS! Add back <a> tags to the site menu 2022-11-04 08:07: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
3f1bd948eb Remove <author> from the Atom entry metadata 2022-11-03 17:02:15 -07:00
3ef4c7eb1b Add a set of templates to generate an Atom feed! 2022-11-03 09:16:25 -07:00
e83ba90c62 Update the photo_thumbnail template to return the thumbnail itself, unmodified, if no changes are required 2022-11-03 09:16:13 -07:00
4c3a61ad5d Reformat the head template a little bit 2022-11-03 09:15:45 -07:00
55f0526f6e Remove the .post-content section around {{ .Content }} 2022-10-31 08:41:40 -07:00
76e3da0de1 Add the series to the content header 2022-10-31 08:41:24 -07:00
ecb39a9298 Move footer tags list to a partial so photos and blogs can use the same template
Simplify the blog post layout by removing the <article> tag
2022-10-31 08:40:17 -07:00
57947282ce Add a shortcode to embed a photo post in a blog post 2022-10-30 11:31:47 -07:00