secunit-core 0.7.1

Registry, evidence, hashing, and verification primitives for secunit.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// footer.typ — running page footer: provenance on the sides, "Page X of Y" in
// the centre. `ctx` carries the document metadata (see docs §9).
//
// Scaffolded by `secunit wisp init`; edit freely to brand.

#let wisp-footer(ctx) = {
  set text(size: 7pt, fill: gray)
  line(length: 100%, stroke: 0.5pt + gray.lighten(40%))
  v(1mm)
  grid(
    columns: (1fr, auto, 1fr),
    align: (left + horizon, center + horizon, right + horizon),
    [v#ctx.version · #ctx.status],
    context [Page #counter(page).display() of #counter(page).final().first()],
    [#ctx.commit · #ctx.content_hash],
  )
}