Add syntax highlighting, support draft posts

This commit is contained in:
Aleks Rutins 2025-06-10 07:21:00 -04:00
parent 94c692a54c
commit 6fffd6e1cc
Signed by: asr
SSH key fingerprint: SHA256:DBype7RrB3qCdOLdkvecD2Y3THOYgYOVw6jAHVgsGRQ
16 changed files with 64 additions and 97 deletions

View file

@ -34,6 +34,7 @@ module Pages
meta(charset: "utf-8")
meta(name: "viewport", content: "width=device-width, initial-scale=1.0")
link(rel: "stylesheet", href: "/tailwind.css")
link(rel: "stylesheet", href: "/prism/prism.css")
script(defer: true, 'data-domain' => "farthergate.com", src: "https://plausible.farthergate.com/js/script.js")
@ -65,6 +66,8 @@ module Pages
p { "built with phlexite and tailwindcss" }
p { "© #{Time.now.year} Aleks Rūtiņš" }
}
script(src: "/prism/prism.js")
}
}
end