From 462c4343347cb5db4a02800eea1575f4969a2e9b Mon Sep 17 00:00:00 2001 From: Spencer Brower <6729162+sbrow@users.noreply.github.com> Date: Sat, 11 Jul 2026 19:39:04 -0400 Subject: [PATCH] feat: Copy to Clipboard Button. --- TODOS.md | 3 ++- render.odin | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/TODOS.md b/TODOS.md index d3b15c8..4911969 100644 --- a/TODOS.md +++ b/TODOS.md @@ -12,5 +12,6 @@ - [ ] Backslash in shrug not visible. - [ ] include-code shortcode (`{{< include-code ... >}}`) — i-ported-fd-to-odin - [x] Nix build integration — main flake runs thor + tailwindcss instead of Hugo -- [ ] Copy-to-clipboard button on code blocks (was in Hugo's custom-head.html) +- [ ] Fix copy-to-clipboard button x-axis positioning inside code blocks +- [ ] Content-hash fingerprinting for CSS and JS cache busting - [ ] OpenGraph meta tags diff --git a/render.odin b/render.odin index 75c57cc..c7d7cca 100644 --- a/render.odin +++ b/render.odin @@ -175,9 +175,9 @@ render_chrome :: proc(page_title: string, body: string) -> string {