Skip to content

Commit

Permalink
Put revision on pages only in draft mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Gekkio committed Jan 7, 2024
1 parent 7d49010 commit e158c5a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions gbctr.typ
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,9 @@
#set text(10pt)
#block(width: 100%)[
#set align(center)
#place(left, text(style: "italic")[
#if config.draft [DRAFT!]
#config.revision
])
#if config.draft [
#place(left, text(style: "italic", [DRAFT! #config.revision]))
]
#box(counter(page).display())
]
]
Expand Down

0 comments on commit e158c5a

Please sign in to comment.