Add metadata to PDF (author, title, date)

This commit is contained in:
2026-01-28 14:11:41 +01:00
parent 6ec9365e55
commit de9bfcb3f3
2 changed files with 11 additions and 4 deletions
+9 -2
View File
@@ -10,8 +10,15 @@
#let targetFull = placeholder("Ellingson Mineral Corporation")
#let targetInSentence = placeholder("Ellingston Mineral")
#let reportType = placeholder("Penetration Test Report")
#let creationDate = datetime.today()
// Styling setup
// Document setup
#set document(
title: [#reportType #targetFull],
author: if type(author) == str { author } else { () },
date: creationDate
)
// Page & styling setup
#set text(font: "Helvetica Neue")
#show heading: it => {
v(1em)
@@ -37,7 +44,7 @@
)
// ----- Cover & Legal disclaimer(s) -----
#pages.cover.render(targetFull, place, author, reportType,
#pages.cover.render(targetFull, place, author, creationDate, reportType,
confidential: false, // set to true for a "CONFIDENTIAL" mark on the cover
tlp: "amber+strict", // set to one of "RED", "AMBER+STRICT", "AMBER", "GREEN", "CLEAR", or none. See https://www.first.org/tlp/
draft: true // set to true for a "DRAFT" mark on the cover