Commit Graph

30 Commits

Author SHA1 Message Date
85ea55402e Add side-by-side shortcode
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
2024-11-28 20:41:05 -08:00
dde3fb61ae Move all bergamot partials and shortcodes into theme
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
2024-09-15 20:09:47 -07:00
c00867d46b Markdown-ify sidenote labels
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
2024-07-06 17:36:38 -07:00
8c3d93bc2d Add a 'draft link' shortcode
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
2024-07-06 17:25:02 -07:00
ed270bc915 Hide checkboxes and icons when no CSS in head is loaded
This seems to help in Firefox's reader mode.
Also adjust images to not be huge without CSS.

Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
2024-06-24 19:21:46 -07:00
f677a3731c Add a series nav shortcode to display navigation early
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
2024-06-19 22:03:33 -07:00
df22cb2b87 Use data from hosts.json to pull in link anchors
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
2024-06-09 18:50:00 -07:00
4b19da5006 Reduce whitespace in templates and avoid polluting the page scratch
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
2024-06-09 18:36:54 -07:00
ec7b58c8ec Avoid passing in .Site-variables to geturl.html
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
2024-06-09 18:14:53 -07:00
8a5bbf460b Trim whitespace in more places
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
2024-05-21 21:42:35 -07:00
48bdf9ef08 Remove newlines from group dict info
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
2024-05-21 21:31:37 -07:00
b1334455ea Track the best path for a submodule that was added
For Agda, this is a proxy for 'root directory' of a project

Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
2024-05-21 20:59:08 -07:00
67da389005 Break up code creating highlight groups and pass in line numbers
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
2024-05-21 20:39:21 -07:00
f3bf27d4a1 Remove newlines from 'codeurl'
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
2024-05-16 16:16:43 -07:00
77b8d5e65b Draw from 'data/' for submodule links
I didn't know about https://gohugo.io/templates/data-templates/

Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
2024-05-16 15:52:15 -07:00
2c13bf93cb Add a shortcode to just get the URL of a code file
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
2024-05-12 18:58:28 -07:00
9c9ced66c3 Allow hiding code in code blocks 2024-03-11 23:20:35 -07:00
c728748106 Extract hardcoded URL to danilafe.com into a site param. 2023-12-30 13:58:56 -08:00
b5761d4d81 Add a new shortcode for referencing lines in a GitHub repo
Including Chapel as a submodule would add 1GB to clones.
2023-10-09 14:40:07 -07:00
502190055d Add a details shortcode 2023-06-04 21:54:08 -07:00
98ee4bd8f3 Add i18n support to the theme 2023-01-01 12:26:37 -08:00
Danila Fedorin
2a0f0cad49 Add option to offset a sidenote to prevent overlap 2022-12-09 15:36:07 -08:00
Danila Fedorin
fb7910c0a2 Remove unused numberedsidenote shortcode 2022-12-09 15:35:11 -08:00
869f9d12c8 Add a shortcode for folding rows of a table on small screens 2022-09-10 17:20:54 -07:00
c5a28bf7ef Add a new block shortcode 2022-09-10 12:32:10 -07:00
5869d99db1 Tweak dialog styles a bit 2022-08-28 19:09:19 -07:00
3858441c89 Add a WIP dialog shortcode 2022-07-02 16:15:21 -07:00
1ee75d9431 Escape raw HTML in rawblocks 2022-03-28 15:53:47 -07:00
c48995310b Escape math in LaTeX 2022-03-27 21:24:04 -07:00
94c285a2f1 Extract website theme into its own repository 2021-04-15 01:37:18 -07:00