Commit graph

30 commits

Author SHA1 Message Date
f0931bd9d1 Update favicons and touch icons 2022-11-24 08:29:59 -05:00
4c3a61ad5d Reformat the head template a little bit 2022-11-03 09:15:45 -07:00
0a410b0ad8 Expand the theme colors to full 6-digit hex values 2022-10-26 09:20:06 -04:00
16a76afed8 Add meta theme-color tags to <head> 2022-10-20 07:52:27 -07:00
f286e5062d First cut at a photos site 2022-10-20 07:51:03 -07:00
17abf75b7e Clean up head.html 2022-10-15 09:35:07 -07:00
9ae600d8ce Merge branch 'redesign' 2022-10-09 12:55:01 -07:00
de215d5eb2 Clean up comments and tags in head.html partial 2022-09-26 13:21:58 -07:00
16201877f4 Move single page scripts to a scripts block 2022-09-26 13:21:43 -07:00
8f63f7c119 Remove the <link> tags from the document <head> 2022-09-11 10:41:42 -07:00
6f21bae492 Move scripts to the bottom of the body 2022-08-27 10:09:55 -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
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
2e2afbdd44 Move the p5 script includes to the bottom of the <body> 2022-03-25 23:21:43 -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
10d7bc1ddd Clean up some of the tag formatting in head.html 2021-12-27 10:26:00 -07:00
ab7c6df152 Move list styles to main.css 2021-12-27 10:25:16 -07:00
7cf5efa991 Add development styles and DRAFT tags; update layout of list and single templates 2021-12-26 13:06:22 -07:00
af7252aa6e Checkpoint main.css and add it to the <head>; add links for page resource CSS if they exist 2021-12-26 13:06:22 -07:00
be432a8999 Reorganize styles a bit 2021-10-15 16:39:31 -07:00
8c8f97a607 Remove style.css; put all styles in app.css; add post_figure shortcode 2021-10-11 17:33:17 -07:00
173ae928f8 Move static resources to static/ and do not minify the CSS 2021-10-11 12:40:25 -07:00
d4b977b1ee Statically define the social icons 2021-10-10 19:59:28 -07:00
9affe7b4cc Move custom.css from the theme to the root 2021-10-05 08:30:23 -07:00
030776d52b Move the head and header partials from the theme to the site layouts/ 2021-10-02 11:19:42 -07:00