From c260ab9f8d7dd84e7befc2188f8eedfc1f463bce Mon Sep 17 00:00:00 2001 From: Sylwester Lachiewicz Date: Fri, 7 Aug 2026 11:41:08 +0200 Subject: [PATCH] Restore the document metadata dropped when the pages were ported An APT document opens with a header block giving its title, authors and date, and doxia-converter turns that into YAML front matter. The port removed the front matter along with the converter's per-line licence comments, so the generated pages lost their author and date meta tags, and took their title from the first heading rather than from the document title. The front matter has to come first in the file: the Markdown parser only looks for it when the source begins with "---". A licence header ahead of it would hide it, and RAT is happy either way. --- src/site/markdown/examples/attached-artifact.md.vm | 7 +++++++ src/site/markdown/examples/class-relocation.md.vm | 7 +++++++ src/site/markdown/examples/executable-jar.md.vm | 7 +++++++ src/site/markdown/examples/includes-excludes.md.vm | 7 +++++++ src/site/markdown/examples/resource-transformers.md.vm | 7 +++++++ src/site/markdown/examples/use-shader-other-impl.md.vm | 7 +++++++ src/site/markdown/index.md | 7 +++++++ src/site/markdown/usage.md.vm | 7 +++++++ 8 files changed, 56 insertions(+) diff --git a/src/site/markdown/examples/attached-artifact.md.vm b/src/site/markdown/examples/attached-artifact.md.vm index 7b6bef06..6a594cb3 100644 --- a/src/site/markdown/examples/attached-artifact.md.vm +++ b/src/site/markdown/examples/attached-artifact.md.vm @@ -1,3 +1,10 @@ +--- +title: Attaching the Shaded Artifact +author: + - Mauro Talevi +date: 2008-07-21 +--- +