Add post source code tag

This commit is contained in:
Nathan McCarty 2025-02-10 12:27:05 -05:00
parent f887be396b
commit dcc6799e6f
5 changed files with 46 additions and 4 deletions

View file

@ -47,6 +47,10 @@ sub icon($icon) is export {
i(:class("bx bx-$icon"))
}
sub logo($logo) is export {
i(:class("bx bxl-$logo"))
}
sub mins-to-string($mins) is export {
if $mins < 60 {
$mins.Str ~ "m"