Skip to main content

layout_rules_stale

An example template.

Browse this template in the repository →

The PDFs below are rendered live by PDF Server from the shipped examples.

stale

Your browser can’t display this PDF inline — use the download link below.

Download PDF — layout_rules_stale / stale

Inputs

Render data

stale

examples/stale.json

{
"case": "stale"
}

Data schema

schema.json

{
"title": "Stale layout rule example",
"type": "object",
"required": ["case"],
"additionalProperties": false,
"properties": {
"case": { "type": "string" }
}
}

Template

template.mustache

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Stale layout rule</title>
<style>
body {
font-family: sans-serif;
font-size: 12px;
}
.note {
border: 1px solid #333;
padding: 8px;
}
</style>
</head>
<body>
<p class="note">{{case}}</p>
</body>
</html>