diff --git a/template.typ b/template.typ index 3130a83..15d7396 100644 --- a/template.typ +++ b/template.typ @@ -2,7 +2,7 @@ #let git_rev = ( if "GIT_REV" in sys.inputs { - sys.inputs.GIT_REV + sys.inputs.GIT_REV.slice(0, 7) } else { "NO_GIT_DONT_USE" } @@ -152,7 +152,7 @@ #v(1fr, weak: false) #datetime.today().display("[month repr:long] [day], [year]") - #text(size: 8pt)[Built from Git revision #git_rev.] + #text(size: 8pt)[Built from Git revision #git_rev] ] ]