diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-11-14 14:40:04 +0700 |
---|---|---|
committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-11-14 14:40:04 +0700 |
commit | 789398fabdae29116cca5e9da42b34dbb6d81705 (patch) | |
tree | 27464008691a2100ab737282b0e7003ba7124346 /utils.jl | |
parent | a1195ebf022cb72e8e49c2e248ce18b7f3db7425 (diff) | |
download | site-789398fabdae29116cca5e9da42b34dbb6d81705.tar.gz |
Fix deployment
Diffstat (limited to 'utils.jl')
-rw-r--r-- | utils.jl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/utils.jl b/utils.jl index 0569335..86b16c5 100644 --- a/utils.jl +++ b/utils.jl @@ -1,5 +1,9 @@ using Printf +function hfun_author_date() + return readchomp(`git log -1 --date=short --format=%ad $(locvar(:fd_rpath))`) +end + function hfun_abslink(args) path = args[1] return @sprintf("<a href=/%s>%s</a>", path, pagevar(path, "title")) |