ee9382b7a9
Clean up the terms template a bit
2024-01-08 13:16:53 -08:00
b876f5a0cd
Move li_grid_with_date template to _default so terms and blog can use it
2023-12-16 09:25:35 -08:00
f905b16940
Add a render template for headings
...
Create heading anchors and style them with colors and stuff
2023-11-18 11:13:16 -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
a9cfddec80
Fix styling of blog, photos, term, ruby
...
So many fixes!
2023-09-26 09:37:04 -07:00
3bcdd7edb7
Add .page or .list to <main> depending on the length of .Pages
2023-08-20 09:59:02 -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
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
174e5bc784
Implement ruby controls!
2023-05-08 20:12:11 -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
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
186929921b
Work in progress nethack dungeon generator background for the nethack page
2023-02-03 16:07:04 -08:00
5606feeca1
Re-do a bunch of the styles for the Nethack page
2022-11-20 12:24:14 -08:00
2c1f64cbca
Set the <html lang> attribute correctly
2022-11-18 07:13:18 -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
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
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
7dcfc12ec7
Generate a feed.atom too
2022-11-04 08:01:07 -07:00
3ef4c7eb1b
Add a set of templates to generate an Atom feed!
2022-11-03 09:16:25 -07:00
cf5d8755ac
Add photo thumbnail, category, series, and tags to RSS items
2022-11-02 09:14:47 -07:00
fd4ab996c5
Use .HasShortcode instead of setting the "includes_" variables in .Page.Store
2022-10-31 07:49:31 -07:00
acb1cf3c35
Use .Page.Store instead of .Page.Scratch for conditional includes of support JS
...
I saw this on one of the Hugo documentation pages, so I copied it. I am not sure what the difference is.
2022-10-30 11:39:33 -07:00
782f613d5a
Fix up the home page; make the font size bigger; clean up the layout
2022-10-25 17:33:03 -04:00
d738354e41
Default single.html template cleanup
2022-10-21 11:10:23 -07:00
23fc76b1f5
Move the li_grid_with_date template to blog/
2022-10-21 11:07:05 -07:00
73cf350b31
Add a .list class to <main> when there are .Pages
2022-10-20 07:52:27 -07:00
1df2846b6d
Use relative URLs in the baseof template
2022-10-20 07:52:27 -07:00
cb6f06a70a
Remove reset.css import
2022-10-15 10:18:14 -07:00
2cd2b89be4
Create a content template for blog post <li> items that use CSS grid
2022-10-15 10:14:48 -07:00
d1fbd6e344
Get these term and terms templates right
2022-10-15 10:14:48 -07:00
9e72b74200
Make sure CSS files are only included once
2022-10-15 10:04:04 -07:00
a68540a5c5
Remove jsonify <pre> block from terms template
2022-10-11 07:44:01 -07:00
d5cca94024
Commit term and terms templates
2022-10-10 13:02:23 -07:00
c48d7e0f3b
Only include .FirstSection's CSS if it's not the home page
2022-10-09 17:34:51 -07:00
ebb71c71ba
Fix a little merge issue
2022-10-09 13:27:12 -07:00
9ae600d8ce
Merge branch 'redesign'
2022-10-09 12:55:01 -07:00
d1171e992f
Distribute all the main.css styles to their own stylesheets and remove main.css
2022-10-09 12:16:53 -07:00
16201877f4
Move single page scripts to a scripts block
2022-09-26 13:21:43 -07:00
c47444925c
Remove unnecessary classes and data attributes from <body>
2022-09-26 13:21:01 -07:00
f1c56b0eb6
Move the {{ end }} tag to the right place in the index template
2022-09-25 08:33:56 -07:00
b4293bcd32
Move the main.css link to baseof and move the styles block below all the page-level links
2022-09-24 07:48:20 -07:00
3d7aa7a092
Add a JSON output format to single pages so they can be fetched async with JS
2022-09-24 07:46:16 -07:00
21cab74651
Remove link to main.css from single page template
2022-09-24 07:45:29 -07:00