Commit graph

279 commits

Author SHA1 Message Date
2ebd743ce5 Draw a platter around the home page layout 2022-09-11 10:39:06 -07:00
e1d6c78cdf Re-mark up the footer 2022-09-11 10:38:09 -07:00
27154cdfc2 Break up reset and root styles into separate stylesheets and include them directly in baseof.html 2022-09-07 08:46:02 -07:00
6c915ab925 Add debug page info to the bottom left corner of the page 2022-09-07 08:44:52 -07:00
83f9550849 New home page! 2022-09-03 15:30:38 -07:00
6f21bae492 Move scripts to the bottom of the body 2022-08-27 10:09:55 -07:00
8478b049f0 Scale image figures to 1280 instead of 640 2022-08-20 17:29:42 -07:00
542866489d Move all the figure shortcodes to /layouts/shortcodes/figures; center all of them 2022-08-20 09:38:31 -07:00
55781cd599 Allow the Page's resources front matter to control whether a JS script is imported as a module
resources:
  - src: script.js
    params:
      is_module: <true|false>
2022-08-18 20:19:10 -07:00
7b9cb6bf73 Slightly tweak how site CSS files are imported in <head> 2022-08-18 20:18:43 -07:00
a897f476e6 Include Railroad.js files in <head> 2022-08-18 20:18:05 -07:00
4c1baa2b6d Add syntax highlight config to site config file
Generate a Monokai and MonokaiLight CSS file for highlighting
Include the CSS file in <head>
2022-08-18 20:16:41 -07:00
45dc56631c Remove undeferred p5 related scripts from baseof.html 2022-08-16 09:20:56 -07:00
b495d84c64 Include p5 scripts if includes_p5_sketch is set in the page's .Scratch
Update the p5_sketch shortcode to set that value in .Scratch
2022-08-16 09:17:27 -07:00
14babf16eb Do the same for page resource scripts as for page resource CSS files
Look up page resources matching *.js and include all of them as deferred module
scripts.
2022-08-16 09:13:38 -07:00
9ffa94f8af Add Tab's railroad.js to the blog
- Include railroad.js from http://tabatkins.github.io/railroad-diagrams/
- Include railroad.css from the same, and tweak it to match my style a bit
  better
- Add a railroad-utils.js file that declares a railroadDiagram function. It
  takes a builder function and an element ID, calls the builder and adds the
  resulting diagram to the element with the given ID.
- Add a railroad_diagram shortcode that wraps that all up so you can write a
  diagram inline with a post.
- Add script includes if the railroad_diagram shortcode is used. The shortcut
  sets a variable in the page's .Scratch that is looked up in the head partial
  template to determine whether to include these scripts.
2022-08-16 09:12:13 -07:00
bac231ee18 Rename the RSS template so it gets picked up as the RSS feed template 2022-05-05 20:25:43 -07:00
7efd9a3bd6 Redo all the RSS -> feeds go to feed.rss now! 2022-05-05 13:17:37 -07:00
ce60159540 Rename RSS feedl to be feed.rss 2022-05-05 12:36:28 -07:00
f00fdab7a2 Put the post date in its own <div> below the heading in the blog listing 2022-04-28 17:58:27 -07:00
14634d5c97 Write the full month out in post dates 2022-04-25 23:18:06 -07:00
d2f51c6b08 Move the <time> elements below the headings in the blog list' 2022-04-24 21:14:04 -07:00
bef10cb7d2 Add nobreak class to the time element in the blog list 2022-04-24 21:08:42 -07:00
50be6f8f91 Format the Nethack score with commas 2022-04-24 17:36:09 -07:00
777a10c734 Add a best_game shortcode 2022-04-24 17:27:13 -07:00
8fb0e09e1b Add a shortcode to generate a Nethack logfile with data from the data directory 2022-04-24 17:16:18 -07:00
e93d3e784d Add an <abbr> shortcode 2022-04-17 10:12:45 -07:00
7f470262ec Move the nethack templates into nethack/ subdirectories of partial and shortcodes 2022-04-17 10:12:34 -07:00
d1dfea9f97 Chronological nethack logfile page 2022-04-16 16:21:35 -07:00
a279e4bb11 Remove date, tags, and navigation from the nethack page 2022-04-16 11:21:21 -07:00
307a02eea1 Generate a table of nethack entries from data/nethack/nutmeg.json 2022-04-16 11:21:21 -07:00
942f04e68f Add a page and layout for nethack 2022-04-13 08:49:49 -07:00
9c14e95be8 Add audio shortcode 2022-04-09 09:08:38 -07:00
687369eb43 Make the p5-sketch element a figure 2022-03-25 23:38:37 -07:00
f3a0b7ab27 Remove some stray "" 2022-03-25 23:38:15 -07:00
501dc6ed51 Rearrange the post header
Dates will flow below the header if the header is too long.

Move the draft up to the top, above the header.
2022-03-25 23:24:29 -07:00
b85ec512ef Rearrange the variable declarations in post_figure 2022-03-25 23:22:50 -07:00
c068a0b9c0 Move p5_sketch_container to p5_sketch
It now takes an id parameter.
2022-03-25 23:22:23 -07:00
2e2afbdd44 Move the p5 script includes to the bottom of the <body> 2022-03-25 23:21:43 -07:00
476bac98e6 Make some variables in the base post const 2022-03-24 23:15:47 -07:00
8e5c9ebb3a Include the p5.js script when is_p5js_sketch is set in the front matter 2022-03-24 23:15:24 -07:00
f21a558a8d Add p5_sketch_container shortcode 2022-03-24 23:14:04 -07:00
797b20104a Add dark mode icons for social media accounts 2021-12-27 18:31:54 -07:00
257dbb9bd2 Lots of responsive fixes 2021-12-27 14:55:26 -07:00
5c65dade97 Add RSS link to social links in the header 2021-12-27 14:08:21 -07:00
07818b13b8 Copy rss.xml from Hugo to my site
Change .Summary to .Content so the entire post shows up in the feed
2021-12-27 11:24:49 -07:00
10d7bc1ddd Clean up some of the tag formatting in head.html 2021-12-27 10:26:00 -07:00
68e2f6e0ac Use .Draft instead of .IsDraft -- the latter is deprecated now 2021-12-27 10:25:42 -07:00
ab7c6df152 Move list styles to main.css 2021-12-27 10:25:16 -07:00
3de018e300 Update the header 2021-12-26 13:06:22 -07:00