Add metadata to PDF (author, title, date)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user