{{- /* Outputs a DRAFT tag for the page. @context {Page} .page The current page @context {String} .class A list of additional classes to apply to the top-level element */ -}} {{- $page := .page -}}
{{ T "draft" }} {{ T (cond $page.Draft "draftYes" "draftNo") }}